To run this project, follow these steps:
Creating a virtual environment helps to manage dependencies for your project. Run the following command to create a virtual environment named authenv:
mkvirtualenv authenv
activate the newly created virtual environment
source authenv/bin/activate
Once the virtual environment is activated, install the necessary packages listed in requirements.txt:
pip install -r requirements.txt
Before running the server, apply the migrations to set up your database schema:
python manage.py makemigrations
python manage.py migrate
Start the Django development server to serve your application:
python manage.py runserver
Ensure you have the following packages installed, as listed in requirements.txt:
asgiref==3.5.0
Django==4.0.3
django-cors-headers==3.11.0
django-dotenv==1.4.2
djangorestframework==3.13.1
djangorestframework-simplejwt==5.1.0
PyJWT==2.3.0
pytz==2021.3
sqlparse==0.4.2
tzdata==2021.5