This project is created to help dev's in creating api using Django and Django Rest Framework to login and generate Tokens.
Prerequisites: Python3, virutalenv
- Checkout the code
- Create a virtual environment (virutalenv .env)
- Activate the environment (source .env/bin/activate)
- Install all the packages (pip install -r requirements.txt)
- Navigate inside the project (cd src)
- Migrate (python manage.py migrate)
- Create a superuser (python manage.py createsuperuser)
Fill in all the details on the terminal to create the superuser - Run the backend server (python manage.py runserver)
- Visit the server link (http://localhost:8000/)