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.
-
Install requirements:
-
install requirments.txt using the command below
pip install -r requirements.txt
- Navigate to the backend folder:
cd backend
- Apply migrations:
python manage.py migrate
- Run the development server:
python manage.py runserver
Open up another terminal
- Navigate to the frontend folder:
cd frontend
- Install dependencies:
npm install
- Start the development server:
npm run dev