-
create a virtual environment
python -m venv venv
(if you use another name, adjust .gitignore) -
enable virtual env
source ./venv/bin/activate
-
install dependencies
pip install -r requirements.txt
- Running Server:
uvicorn server:app
orpython server.py
All of the properties defined in the dictionary config/init.py can be imported and used throughout your project. Feel free to add more. If you want the properties to be read from a .env file make sure to pass the USE_DOTENV env variable. USE_DOTENV=True python server.py
Routes are written in the controllers folder
The models folder available if you decide to use an ORM
/docs will have built in documentation
The Procfile for Heroku deployment is included