Skip to content

An easy to start yet full-featured web framework

Notifications You must be signed in to change notification settings

hzwdachui/flaskweb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flaskweb Frame

Inspirated by springboot

Structure

  • wsgi.py launch the webserver
  • app.py bootstrap file of the whole service
  • demo: a micro service
    directories at the same level can also be created if there are other micro services
    • controller
    • service
    • model
    • dao
  • config: just configs...
  • library: basic and universal tools or utilities
  • requirements.txt: run pip install -r requirements to install every thing you need for this demo
  • gunicorn_config.py: todo: convert from wsgi to gunicorn, a more powerful webserver for python
  • logs: Writed down log and seperate them into several level is a good idea for a big and sophisticated system. I recommend using log.

Todo

  • docker containers
  • dao level

About

An easy to start yet full-featured web framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.7%
  • HTML 1.2%
  • CSS 1.1%