Skip to content

MU-Smart/MyPathApp_Server

Repository files navigation

Django REST Framework Complete Authentication API

To Run this Project follow below:

Setup Instructions

To run this project, follow these steps:

1. Create a Virtual Environment

Creating a virtual environment helps to manage dependencies for your project. Run the following command to create a virtual environment named authenv:

mkvirtualenv authenv

2. Activate the Virtual Environment


activate the newly created virtual environment
source authenv/bin/activate

3. Install Required Packages

Once the virtual environment is activated, install the necessary packages listed in requirements.txt:

pip install -r requirements.txt

4. Apply Migrations

Before running the server, apply the migrations to set up your database schema:

python manage.py makemigrations
python manage.py migrate

5. Run the Development Server

Start the Django development server to serve your application:

python manage.py runserver

Requirements

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages