Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ucangun/flightapi
Flight API: A simple Express.js based API for managing flights and making reservations. It allows users to create, read, update, and delete flights, with optional user authentication. Includes Swagger documentation and is deployed on Render for live access.
https://github.com/ucangun/flightapi
cookie-parser dotenv express express-async-errors jsonwebtoken mongoose morgan redoc-express swagger-autogen swagger-ui
Last synced: about 19 hours ago
JSON representation
Flight API: A simple Express.js based API for managing flights and making reservations. It allows users to create, read, update, and delete flights, with optional user authentication. Includes Swagger documentation and is deployed on Render for live access.
- Host: GitHub
- URL: https://github.com/ucangun/flightapi
- Owner: ucangun
- Created: 2024-11-26T13:09:05.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-28T14:36:59.000Z (2 months ago)
- Last Synced: 2024-12-18T04:16:53.660Z (about 2 months ago)
- Topics: cookie-parser, dotenv, express, express-async-errors, jsonwebtoken, mongoose, morgan, redoc-express, swagger-autogen, swagger-ui
- Language: JavaScript
- Homepage:
- Size: 228 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Flight API
A simple **Flight API** built with **Express.js** that allows users to manage flights and make flight reservations. Users can **create, read, update, and delete flights** as well as make reservations regardless of whether they are logged in. This API also includes **Swagger** documentation for easy exploration and is deployed on **Render** for live access.
## Features
- **Flight Management**: Create, Read, Update, and Delete flight records
- **Flight Reservations**: Users can reserve flights without needing to be logged in
- **User Authentication**: Optional login for users to manage their personal reservations
- **Swagger Documentation** for API exploration
- **Deployed on Render** for live access## API Documentation (Swagger)
You can explore the API using Swagger UI. After starting the server, visit the following URL in your browser:
[Swagger UI - Flight API Documentation](https://flightapi-0fa6.onrender.com/documents/swagger/)
## Live Demo (Render)
The API is live on **Render**. You can access it using the following URL:
[Live Demo - Flight API](https://flightapi-0fa6.onrender.com/)
## Technologies Used
- **Node.js**: JavaScript runtime environment
- **Express.js**: Web framework for Node.js
- **Swagger UI**: API documentation tool
- **Render**: Platform for deployment### ERD:
![ERD](./erdFlightAPI.png)