ht21992 / React-DRF-Session-Based-Auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Session Authentication Using DRF and React

Session-Based Authentication has been implemented using Django Rest Framework as the backend and React as the frontend. Redux Toolkit has been used as the state manager, and Vite is used as the 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

About

License:MIT License


Languages

Language:Python 52.3%Language:JavaScript 31.9%Language:CSS 14.9%Language:HTML 0.9%