Backend for Pawra REST API
- Posgtresql database
- Python installed
- Clone repo from git
- Copy
.env.example
dan rename it to.env
, then fill it - To get the secret key, run
openssl rand -hex 32
in terminal - Run
pip install --no-cache-dir -r requirements.txt
in terminal - Run
alembic upgrade head
to migrate all the tables - Finally, to run the application type
uvicorn app.main:app --reload --port 8000
in terminal - Access the provided API in http://127.0.0.1:8000/docs