Skip to content

Talib-Hossain/aero-node

Repository files navigation

Aero Track Backend

Node.js + TypeScript backend for a personal flight tracking app powered by the AirLabs API.

Stack

  • Node.js
  • Express
  • TypeScript
  • Zod for validation
  • Axios for AirLabs integration

Getting Started

  1. Install dependencies:
npm install
  1. Copy environment variables:
cp .env.example .env
  1. Add your AirLabs API key in .env.

  2. Start the dev server:

npm run dev

Available Endpoints

  • GET /api/v1/health
  • GET /api/v1/flights
  • GET /api/v1/flights/:flightId
  • GET /api/v1/airports
  • GET /api/v1/routes

Query Examples

GET /api/v1/flights?dep_iata=DEL&limit=10
GET /api/v1/flights/AI101
GET /api/v1/airports?iata_code=JFK
GET /api/v1/routes?dep_iata=DEL&arr_iata=BOM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors