aleksandr-miheichev / room_reservation

Meeting room booking service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meeting room booking service

Contents


Project Description:

Asynchronous API for an application that will provide an opportunity to book rooms for a certain period of time.

You can find out which meeting room is booked, by whom and for what period of time. The division of roles into regular users and system admins is implemented.

The user can book a free room for a certain period of time, and the application checks whether someone has already booked this room and whether the whole time for which this meeting room is booked is free.


Technology Stack:


How to deploy a project:

Clone a repository and navigate to it in the terminal using the command

cd
git clone git@github.com:aleksandr-miheichev/room_reservation.git

Create and activate a virtual environment:

python -m venv venv
source venv/Scripts/activate

Install dependencies from the requirements.txt file:

pip install -r requirements.txt

Template for populating the .env file:

APP_NAME=Meeting room booking service
DATABASE_URL=postgresql+psycopg://user:password@localhost/dbname
SECRET=secret_word_for_token_generation
FIRST_SUPERUSER_EMAIL=email@email.com
FIRST_SUPERUSER_PASSWORD=creared_password

Configuring the database:

Apply Migrations:

alembic upgrade head 

Start the application:

To run the application, you must use the command in the terminal:

uvicorn app.main:app --reload

API Documentation:


The project was worked on by:

About

Meeting room booking service


Languages

Language:Python 98.7%Language:Mako 1.3%