AirAPI Logo

AirAPI

Hobby API to for aviation-related data.

The data is sourced from OurAirports and comes with no guarantee of accuracy or fitness for use.

Built using Nitro, TRPC OpenAPI and Prisma.

API Documentation is available at /swagger.

More endpoints and data will be added over time.

Development

Look at the Nitro documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# yarn
yarn install

# pnpm
pnpm install

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Check out the deployment documentation for more information.