8000 GitHub - KarthikeyanRanasthala/Flask-Auth-REST-API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 3, 2022. It is now read-only.

KarthikeyanRanasthala/Flask-Auth-REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Authenication REST API

Built With

  • Flask
  • JWT
  • MySQL

Usage

  1. Clone the repository and change directory
git clone https://github.com/karthikeyanranasthala/Flask-Auth-REST-API.git
cd Flask-Auth-REST-API
  1. Setup Python VirtualEnv and activate.
virtualenv -p <path_to_python_installation> venv
source venv/bin/activate
  1. Install the required packages.
pip install -r requirements.txt
  1. Setup environment variables in .env file.
MYSQL_USER="<username>"
MYSQL_PASSWORD="<password>"
MYSQL_DB="<database>"
JWT_SECRET_KEY="SomeRandomSecretPhrase"
  1. Start the server.
export FLASK_APP=app.py
export FLASK_ENV=development

Features

  • Register User
  • Hash Password using PBKDF2
  • Login User

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0