https://github.com/alrico88/airapi
https://github.com/alrico88/airapi
api aviation nitro trpc
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alrico88/airapi
- Owner: alrico88
- Created: 2023-11-05T15:57:43.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-27T00:43:17.000Z (over 1 year ago)
- Last Synced: 2025-04-01T22:11:04.418Z (6 months ago)
- Topics: api, aviation, nitro, trpc
- Language: TypeScript
- Homepage: https://airapi.vercel.app/swagger
- Size: 307 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# AirAPI
Hobby API to for aviation-related data.
The data is sourced from [OurAirports](https://ourairports.com/data/) and comes with no guarantee of accuracy or fitness for use.
Built using [Nitro](https://nitro.unjs.io/), [TRPC OpenAPI](https://github.com/jlalmes/trpc-openapi) and [Prisma](https://www.prisma.io/).
API Documentation is available at `/swagger`.
More endpoints and data will be added over time.
## Development
Look at the [Nitro documentation](https://nitro.unjs.io/) to learn more.
### Setup
Make sure to install the dependencies:
```bash
# npm
npm install# yarn
yarn install# pnpm
pnpm install
```### Development Server
Start the development server on
```bash
npm run dev
```### Production
Build the application for production:
```bash
npm run build
```Locally preview production build:
```bash
npm run preview
```Check out the [deployment documentation](https://nitro.unjs.io/deploy) for more information.