Skip to content

Authentication feature that demostrates password hashing

License

Notifications You must be signed in to change notification settings

CyrilBaah/Password-Hashing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password-Hashing

This is a Flask application demonstrating authentication features with password hashing.

Technology Stack

How to set up locally

  1. Clone the project.
 git clone https://github.com/CyrilBaah/Password-Hashing.git
 cd Password-Hashing
  1. Create a virtualenv
 virtualenv env
 source env/bin/activate
  1. Install the packages
 pip install -r requirements.txt
  1. Start the Server
 python3 app.py 

How to interact with the application API

Registration

curl -X POST http://127.0.0.1:5000/register -H "Content-Type: application/json" -d '{"username": "john_doe", "password": "password123"}'

Login

curl -X POST http://127.0.0.1:5000/login -H "Content-Type: application/json" -d '{"username": "john_doe", "password": "password123"}'

About

Authentication feature that demostrates password hashing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages