How aaryan-shrestha/application-form---flask works
This is a small Flask form-submission app. A visitor opens the form, submits personal and occupation details, and the home route parses the date, stores a record, emails a confirmation, flashes a success message, and renders the form page. The route, model, and integrations are all defined in app.py. The template is present in the tree but was not excerpted, so its internal behavior and its form-to-route wiring are not independently verified.
Main entry points: app.py Home route · index.html Form page · data.db SQLite database
Components 7
Web interface
- Form page
templates/index.html
Application
- Home route
app.py - Form record
app.py - Success notice
app.py
Integrations
- SQLite database
instance/data.db - SMTP email
Other components
- Visitor
Connections 6
- Visitor → Home route: submits form
- Home route → Form page: renders
app.py - Home route → Form record: creates record
app.py - Home route → SQLite database: writes record
app.py - Home route → SMTP email: sends email
app.py - Home route → Success notice: flashes notice
app.py