/React-DRF-JWTAUTH

Primary LanguagePythonMIT LicenseMIT

JWT Authentication Using DRF and React

JWT auth has been implemented using Django Rest Frame work as backend and React as frontend , Redux toolkit has been used as state manager. also Vite has been used as build tool

How to Run

Backend

  1. Install requirements:

  2. install requirments.txt using the command below

pip install -r requirements.txt
  1. Navigate to the backend folder:
cd backend
  1. Apply migrations:
python manage.py migrate
  1. Run the development server:
python manage.py runserver

Frontend

Open up another terminal

  1. Navigate to the frontend folder:
cd frontend
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

image

image