The user authentication and authorization functionalities of the application are served by the backend, which is built with Django and Django Rest Framework. Python is the primary language used for this backend. One of the features of this application is the use of JSON Web Tokens (JWTs) to authorize users.
Building a System for User Registration and Login using Python (Part 1 )
This article is a tutorial on building a backend for user sign-up, login, and authentication using Python
Building a System for User Registration and Login using TypeScript (Part 2 )
To begin with, we will be building the front end using React with TypeScript.
Make sure you have the following installed on your system:
- Python
- virtualenv
You can install virtualenv using the following command:
pip install virtualenv
- Clone this repository:
git clone https://github.com/Gaurav-jo1/VerifyMe_Backend.git
- Navigate to the project directory:
cd VerifyMe_Backend
- Create a virtual environment for your project (optional but recommended):
virtualenv venv
- Activate the virtual enviroment:
For Windows: ./venv/Scripts/activate
For Linux: source ./venv/bin/activate
- Install the required packages listed in the requirements.txt file:
pip install -r requirements.txt
- Set up the app by running the following commands:
python manage.py makemigrations
python manage.py migrate
- Create a superuser (optional) by running:
python manage.py createsuperuser
To run the app, simply run the following command: python manage.py runserver
This project is licensed under the MIT License.