https://github.com/thegirlsynth/flight_booking_api
https://github.com/thegirlsynth/flight_booking_api
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thegirlsynth/flight_booking_api
- Owner: thegirlSynth
- Created: 2023-12-14T10:26:11.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-15T20:31:29.000Z (over 1 year ago)
- Last Synced: 2024-01-16T04:45:29.293Z (over 1 year ago)
- Language: Python
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flight Booking API
Welcome to the Flight Booking API documentation. This API provides a platform for users to book flights, search for available flights, and manage their bookings. It is designed to be a user-friendly and efficient solution for flight-related activities.
## Base URL
The base URL for accessing the API is [http://synth.pythonanywhere.com/](http://synth.pythonanywhere.com/).## API Version
The current version of the API is 1.0.## Description
The Flight Booking API allows users to perform the following actions:### Bookings
#### `POST /book-flight`
Book a flight using this endpoint.#### `POST /search-flights`
Search for available flights based on specified criteria.### Users
#### `GET /dashboard`
Retrieve the user dashboard, providing information about upcoming flights and booking history.### Authentication
#### `GET /login`
Retrieve the login page.#### `POST /login`
Log in a user.#### `GET /logout`
Logout the user.#### `POST /signup`
Register a new user.