webapp-flask
Project · study · 2024
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.
See also
In the knowledge graph
webapp-flask and the 6 things it is linked to. Open any dot for its page, or explore it in the full graph.
As data
Everything on this page is read from triples in the knowledge graph. These are the 18 it states about webapp-flask, and 1 more its ontology implies; the console runs SPARQL over the whole graph, here in your browser.
@prefix id: <https://ask.chaipat.cc/id/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix cj: <https://ask.chaipat.cc/ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . id:WebappFlask a cj:Project ; rdfs:label "webapp-flask" ; cj:description "Installable Flask web app with a database, following the Flask tutorial structure." ; cj:context id:OpenSource ; cj:repository "https://github.com/AppleBoiy/webapp-flask"^^xsd:anyURI ; cj:firstCommit "2024-07-28"^^xsd:date ; cj:lastCommit "2024-07-29"^^xsd:date ; cj:commitCount 4 ; cj:kind "study" ; cj:theme id:ThemeWeb ; cj:uses id:Python , id:Flask , id:SQL ; cj:tier 3 ; cj:mentions id:WebappStudy ; cj:article "https://ask.chaipat.cc/wiki/WebappFlask"^^xsd:anyURI ; cj:activeIn id:Y2024 ; cj:activity _:b177 .