Wiki › Project
webapp-flask
Article
ReadAll pages
From Chaipat's knowledge graph
webapp-flask is a study project that follows the structure of the official Flask tutorial, Flaskr. It is a small blog-style web app in Flask with an SQL database, built to be installed and packaged like a real Python project.
What it practises
- An application factory and blueprints.
- A database initialised from the command line (
flask --app flaskr init-db). - Installation as a package in editable mode (
pip install -e .). - Building a wheel for distribution (
python -m build --wheel). - Tests with their own requirements file.