Table of Contents
This project try to show authentication handling and authorization of users and admins in an admin panel. This project uses Django and React, and inside them we use best way of JWT tokening that you will see in it.
Here's why:
- You should watch at least one time this kind of projects.
- You need to know how to implement Django and React projects using JWT.
- We connect our project to PostgreSql.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
- Clone The Repo
git clone https://github.com/MhmdRdbri/accounts-manager.git
- Install NPM Packages In React Directory
npm install
- Create Virtual Environment
python -m venv 'Your venv name'
- Activating Virtual Environment
'Your venv name'\Scripts\activate.bat
- Intsall Django Packages
pip install -r requirements.py
- Start Django Project
python manage.py runserver
- Start React Project In React Directory
npm start
This project use in case that you want to have authorization applied on users in an admis panel, and you have admin that can have full access to users that have some roles in our website.