Quickstart Guide
Get Air Tracker running locally in just a few minutes. This guide will walk you through the essential steps to start tracking flights.Prerequisites
Before you begin, ensure you have:- Node.js 18.x or higher (Download)
- npm 7+ (comes with Node.js)
- Git for cloning the repository
Air Tracker is built with Angular 20 and requires a modern development environment. We recommend Node.js LTS (v18 or v20).
Quick Setup
Install dependencies
Install all required packages:
Installation typically takes 2-3 minutes depending on your internet connection.
Configure environment
Air Tracker uses environment configuration for API endpoints. The default configuration works out of the box for development:
src/environments/environment.development.ts
Start the development server
Launch the application:The development server will start on
http://localhost:4200/You should see “Application bundle generation complete” in your terminal when ready.
Open in browser
Navigate to http://localhost:4200 in your browser.You’ll see the Air Tracker interface with:
- Interactive Leaflet map
- Live flight tracking (if backend is connected)
- Filter controls for operators and flight status
What You’ll See
When Air Tracker loads successfully, you’ll see:Interactive Map
Leaflet-powered map with zoom controls and base layer switcher (satellite, streets, dark, light)
Flight Markers
Animated aircraft markers with rotation based on heading
Flight List
Sortable table showing all tracked flights with details
Filter Menu
Controls to filter by airline operator and ground status
Quick Commands Reference
| Command | Description |
|---|---|
npm start | Start development server on port 4200 |
npm run build | Build production bundle |
npm test | Run unit tests with Karma |
npm run lint | Check code style |
npm run lint:fix | Fix linting issues automatically |
Next Steps
Now that you have Air Tracker running:Explore Features
Learn about real-time tracking, filtering, and map interactions
View Architecture
Understand the Angular 20 architecture and state management
Component Docs
Explore the component library and APIs
Development Guide
Set up your development environment
Troubleshooting
Port 4200 is already in use
Port 4200 is already in use
To use a different port:Or kill the process using port 4200:
Module not found errors
Module not found errors
This usually means dependencies weren’t installed correctly:
Backend API connection failed
Backend API connection failed
If you see “Error fetching flights” in the UI:
- Ensure your backend API is running on
http://localhost:8080 - Check CORS settings on the backend allow requests from
http://localhost:4200 - Update
apiBaseUrlinsrc/environments/environment.development.tsif using a different endpoint
Air Tracker includes mock data fallback in
FlightsStoreService.pollMock() for frontend-only development.Need Help?
- Full Installation Guide: See Installation for detailed setup instructions
- Architecture Overview: Learn about the application architecture
- API Reference: Explore the services and models
- GitHub Issues: Report bugs or request features on GitHub
