You have multiple option for the documentation, all of the option below is a substitute for each other, feel free to use whichever you prefer:
- You can run the app on localhost and:
- Go to /docs to see a swagger documentation
- Go to /redoc to see a redoc documentation (Alternative to swagger)
- You can directly go to below url:
https://emodiary-app.et.r.appspot.com/docssee a swagger documentationhttps://emodiary-app.et.r.appspot.com/redocsee a redoc documentation (Alternative to swagger)
- Postman public workspace
- Install python 3.9, pip, and postgreSQL.
- Clone this project to your computer
git clone https://github.com/dafaath/capstone-2022-backend.git. - Install pipenv to handle your environment,
pip install pipenv - Install dependencies with
pipenv installand enter the environmentpipenv shell. - This project use postgreSQL as database, change the database connection settings to connect to your database in
config.py, just change the DefaultSettings properties. - Update your database to the latest model with Alembic (Alembic is already installed if you install the above dependencies)
alembic upgrade heads. - Start the server with
python start.py.