Skip to content

Flask server wrapped in a class, with blueprint for modularizing endpoints

Notifications You must be signed in to change notification settings

BigRiceEater/flask-in-a-class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask in a Class

Flask normally is not wrapped in a class but sometimes we want to encapsulate the server and provide extra functionality like broadcasting websockets with other app logic modules.

Development

Make sure pyenv and pipenv is installed to re-create v3.7.1 and to re-install the project dependencies. Run the project with the following commands

pipenv shell
python __main__py

Flask Blueprints

Flask doesn't call separate routers a middleware, it refers to it as a blueprint to logically separate endpoints.

About

Flask server wrapped in a class, with blueprint for modularizing endpoints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages