An API for the Menu-App (see for more info) project to manage users, restaurants and dishes.
- Create and set up the
.envfile:
DB_HOST = postgres
DB_PORT = 5432
DB_NAME = fast_api
DB_USER = <USER>
DB_PASSWORD = <PASSWORD>
SECRET_KEY = <SECRET_KEY>
ALGORITHM = HS256- Run
docker-compose:
docker-compose up -dApplication will be available at localhost:8000.
To add sample data (restaurants and dishes) to the database run:
docker-compose exec app python -m app.init_dbAfter launching the application, the documentation will be available at localhost:8000/docs.
Also, you can see the documentation in the Menu-App repository.