all of the server is contained within the app folder. the flask server is created and configured in app/__init__.py
. app/config.py
contains the environment variables and other configuration options for prod, dev, and testing. .env
contains the actual environment variables that are imported into the config file and is not included in version control. the api
folder contains blueprints of each the api functionalities. the db
folder contains helper functions for all of the interaction with the database.
- Jon Huber ([email protected])
- Ray Truong ([email protected])
- Jay Rixie ([email protected])
- clone the repo
- download the python extension for vs code
- create python virtual environment and activate
pip install -r requirements.txt
- create
.env
inapp
and follow the outline below - set
FLASK_APP=app
andFLASK_ENV=dev
outside of.env
- use
flask run
to run the app
TWILIO_KEY=
DB_URL=
DB_NAME=
DB_USERNAME=
DB_PASSWORD=