8000 GitHub - ahsanbari/whitespace · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

This is a Next.js flight tracking application that visualizes aircraft data with interactive maps using Leaflet.

Installation

First, clone the repository and install all dependencies:

# Install all project dependencies
npm install

# Install TypeScript definitions for Leaflet
npm install --save-dev @types/leaflet

Environment Setup

  1. Copy the environment template file:

    cp env.template .env.local
  2. Edit .env.local and add your OpenWeatherMap API key:

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

End-to-End Testing (Playwright)

This project uses Playwright for E2E browser testing.

Setup

If you haven't already, install Playwright and its browsers:

npx playwright install

Running Tests

To run all E2E tests:

npx playwright test

To run a specific test file:

npx playwright test tests/e2e/flight-search.spec.ts

Viewing Test Reports

After running tests, view the HTML report:

npx playwright show-report

Notes

  • By default, only Desktop Chrome tests are run (see playwright.config.ts).
  • The Next.js dev server will be started automatically if not already running.
  • If you see timeouts, ensure your local server and data are loading correctly.
  • For troubleshooting, check the test-results/ and playwright-report/ folders for screenshots and videos of failures.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0