Skip to content

engjames256/oyee-jwt-auth-react-login

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

oyee-jwt-auth-react-login

This Project gives a step by step on the implementation of Authentication and Authorization using React and Python. The project uses Redux for state management and Django Rest Framework for building Restful APIs.

Getting Started

To get a local copy git clone https://github.com/engjames256/oyee-jwt-auth-react-login.git

Backend Setup

Open your local copy in the terminal

Switch to the backend directory

cd backend

Install Virtual Environment

sudo install virtualenv

Create Virtual Environment

virtualenv venv

Activate Virtual Environment

source venv/bin/activate

Install required dependencies

  • pip install django
  • pip install whitenoise
  • pip install django-rest-knox
  • pip install djangorestframework
  • pip install django-cors-headers

Switch to the project directory

cd react_login

Run the project

python manage.py runserver

Server starts on http://localhost:8000/

Frontend Setup

Open your local copy in the terminal

Switch to the frontend directory

cd frontend

Install required dependencies

npm install

Run the project

npm start

Server starts on http://localhost:3000/

👤 Author

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.5%
  • HTML 1.3%
  • JavaScript 1.2%
  • CSS 0.7%
  • C 0.3%
  • Shell 0.0%