This application is running on python3.9 and Django 3.2. This application contains middleware i.e. all requests are authenticated with valid session id. Public routes are exempted like login, register and logout.
https://documenter.getpostman.com/view/2502898/2s946k6AaX
-
Clone this application.
-
Install python3.9 on your system if required.
-
Create virtual environment
virtualenv -p python3.9 venv
-
Activate virtual environment
source venv/bin/activate
-
Install requirements
pip install -r requirement.txt
-
Run migrations
python manage.py migrate
-
Run server
python manage.py runserver
Access the server at http://127.0.0.1:8000
-
Install docker if required
-
Build Image
docker build -t quantaco_backend .
-
Run Image
docker run -p 8000:8000 quantaco_backend
-
Access server at http://127.0.0.1:8000