This is the backend for Eatery Blue.
- Install PostgreSQL here at https://www.postgresql.org/download/
- Login to postgres via command line by entering
psql postgres - Create the eatery database via
create database "eatery-dev"; - Quit psql via
\q - Create an
.envrcfile and fill out the environment variables from the.envrctemplatefile corresponding to your local postgres database - Create a python virtual environment in the root directory by running
python3 -m venv venvand then activate it by runningsource venv/bin/activate(MacOS) orvenv\Scripts\activate(Windows) - Install the required dependencies by running
pip3 install -r requirements.txt - Load the environment variables by running
source .envrc - To set up the tables and data (or if reseting the database), make sure current working directory is the
srcfolder and runpython3 manage.py makemigrations; python3 manage.py migrate; python3 manage.py populate_models - To run the backend, run
python3 manage.py runserver 0.0.0.0:8000(Ensuring the env variables are loaded and all dependencies are installed)
- Full Swagger Docs API Specs can be found at /docs when running the server
- Thomas Vignos
- Skye Slattery
- Cassidy Xu
- Thomas Vignos
- Aayush Agnihotri
- Daniel Weiner
- Mateo Weiner
- Thomas Vignos
- Mateo Weiner
- Kidus Zegeye
- Marya Kim
- Sasha Loayza
- Marya Kim
- Archit Mehta