Skip to content

Ratery/rs-cloud-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An API for the Menu-App (see for more info) project to manage users, restaurants and dishes.

Launch instructions

  1. Create and set up the .env file:
DB_HOST = postgres
DB_PORT = 5432
DB_NAME = fast_api
DB_USER = <USER>
DB_PASSWORD = <PASSWORD>
SECRET_KEY = <SECRET_KEY>
ALGORITHM = HS256
  1. Run docker-compose:
docker-compose up -d

Application will be available at localhost:8000.

Adding sample data

To add sample data (restaurants and dishes) to the database run:

docker-compose exec app python -m app.init_db

Documentation

After launching the application, the documentation will be available at localhost:8000/docs.

Also, you can see the documentation in the Menu-App repository.

About

An API for the "Menu-App" project to manage users, restaurants and dishes.

Topics

Resources

Stars

Watchers

Forks