How rhyancornejosanchez-web/web-system-group-6 works
This is a Flask apartment-management web application for tenants and a landlord. The principal workflow is a tenant signing in, viewing rental units and rent status, then sending an inquiry or message; landlord routes manage units and occupancy, tenants, applications, and replies. Route handlers own the domain operations and access MySQL through the model layer. Startup initializes and seeds data, while CLI commands provide database reset and user listing. The README gives no capability details; broader feature coverage is inferred from the route/template names in the tree, and those unsampled links are omitted where relationships cannot be verified.
Main entry points: views.py Web routes · models.py Database access · app.py App startup · seed.py Sample data seeding
Components 14
Web application
- Web routes
views.py - Role pages
templates
Rental operations
- Auth and rent helpers
utils.py - Units and occupancy
views.py - Rent tracking
views.py - Inquiries and messages
views.py - Accounts and approvals
views.py
Persistence
- Database access
models.py - MySQL database
Initialization and CLI
- App startup
app.py - Sample data seeding
seed.py - Database CLI
cli_command.py
Other components
- Tenant
- Landlord
Connections 18
- Tenant → Web routes: uses routes
views.py - Landlord → Web routes: uses routes
views.py - Web routes → Role pages: renders
views.py - Web routes → Database access: queries
views.py - Web routes → Auth and rent helpers: uses helpers
views.py - Web routes → Units and occupancy: handles
views.py - Web routes → Rent tracking: handles
views.py - Web routes → Inquiries and messages: handles
views.py - Web routes → Accounts and approvals: handles
views.py - Database access → MySQL database: reads and writes
models.py - App startup → Database access: initializes
app.py - App startup → Web routes: registers
app.py - App startup → Sample data seeding: runs
app.py - App startup → Database CLI: registers commands
app.py - Sample data seeding → Database access: writes seed data
seed.py - Sample data seeding → Auth and rent helpers: hashes passwords
seed.py - Database CLI → Database access: queries and resets
cli_command.py - Database CLI → Sample data seeding: reseeds
cli_command.py