Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A python web app template - Flask + MongoDB

License

NotificationsYou must be signed in to change notification settings

avilum/flask-mongo-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a highly configurable python web application boilerplate.
It uses Flask, MongoDB, custom logging and environmental configurations for easy, robust development.

Steps:

  1. Search for 'TODO' in the project to fill the configuration.
  2. python ui/server.py

Architecture:

python-boilerplate/# root directory    core/# configurations, models and abstractions.    data/# MongoDB access layer and a factory    ui/# Contains a Flask application that uses the db    tests/# Any tests you want to implement    bll/# Any custom logic you want to use between the UI and the DATA layers.

Configurations

The directory core/configurations contains a lot of configurations.
The most important one is env.py,
DEVELOP_MODE will control the selected db and the logging levels.


[8]ページ先頭

©2009-2025 Movatter.jp