Skip to content

RESTful API using Django and JSON Web Tokens (JWT) for authentication.

Notifications You must be signed in to change notification settings

EmanuelCG/django-login-JWT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💻 LoginEase 💻

This project implements a RESTful API using Django and JSON Web Tokens (JWT) for authentication. Users can register, log in, reset their password, and obtain a JWT token that allows them to access protected API resources.

Technologies

For testing, Mailtrap email has been used. Make sure you configure Mailtrap in your development environment. Here is an example of configuration in the .env file:

EMAIL_HOST=sandbox.smtp.mailtrap.io
EMAIL_HOST_USER=your_mailtrap_username
EMAIL_HOST_PASSWORD=your_mailtrap_password
EMAIL_PORT=2525
EMAIL_USE_TLS=True
DEFAULT_FROM_EMAIL=your_default_from_email@example.com

My Skills

MIT License EmanuelCG - musical-gear-api

Screenshots

Register user

App Screenshot

Validation code

App Screenshot

Verify account

App Screenshot

Login

App Screenshot

Reset password

App Screenshot App Screenshot App Screenshot App Screenshot

Installation

  1. Clone the repository:

    git clone https://github.com/EmanuelCG/musical-gear-api.git
  2. Navigate to the project directory:

    cd your_project
  3. Install the dependencies:

    pip install -r requirements.txt

Usage

  1. Set up your virtual environment and activate it.

  2. Run the development server:

    python manage.py runserver
  3. Open your web browser and visit http://localhost:8000 to see the application in action.

Contribution

If you want to contribute to this project, follow these steps:

  1. Fork the project.
  2. Create a new branch (git checkout -b feature/new-feature).
  3. Make your changes and commit them (git commit -am 'Add a new feature').
  4. Push to the branch (git push origin feature/new-feature).
  5. Create a pull request.

About

RESTful API using Django and JSON Web Tokens (JWT) for authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages