Skip to content

mayankmtg/authapi_flaskplate

Repository files navigation

authapi_flaskplate

Flask authentication boilerplate

Installation

Change values in config.yaml

$ pip install -r requirements.txt
$ python create_admin.py

Run Application

$ python api.py

Endpoints

/user

  • GET: Get all registered users in the system
  • POST: Create a new user

/user/<public_id>

  • GET: Getting a particular user from the system
  • PUT: Extending the admin status to any of the passed users in the URL
  • DELETE: Deleting an existent user

/login

Send HTTP basic authentication request

About

Flask authentication boilerplate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages