Skip to content
Tzumx edited this page Aug 12, 2022 · 8 revisions

Hotel_API

Generic Hotel API for a basic hotel administrations system created with FastAPI and PostgreSQL to simplify and structure hotel operations.

Features

Create different types of room with own price and fixtures.
Store and search information about guests, bookings and hotel facilities.
Create Bookings depending on the room state (free or booked).
Check if booking's payment is full, if guest has any open requests.
Role based access to functionality (Admin/User).

Getting Started

Setup database (heroku-postgresql hobby-dev is a great free option)
Add database URL to .env file
Setup keys in .env file as per need.
Setup a local environment
Update database via migrations
Start app and create first user (admin)
Clone this wiki locally