Skip to content

REST API Template using Flask. Basic Authentication, Azure Cosmos DB and API versioning.

Notifications You must be signed in to change notification settings

mightyjens/python-flask-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-flask-rest-api

REST API Template using Flask.

  • Basic Authentication using e.g. Azure Cosmos DB (MongoDB)
  • API versioning with Flask Blueprints
  • Settings saved in env variables

This is a really simple REST API Template I created while learning a little bit of Python.
I use it for my microservices in the company running as Azure App Service.

Create Testing Environment

  • Setup your python environment properly
  • Clone the repository
  • Rename the .env_Example file to .env
    • There's a Test-User "Test" with Password "Hello" (encrypted with passwordhash() function)
  • Run the app

https://www.j3ns.de/python/a-simple-python-rest-api-template-on-azure-app-service/

About

REST API Template using Flask. Basic Authentication, Azure Cosmos DB and API versioning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages