How aylinrsl/fswd-team3 works
StudyNet is a Flask platform for support and community in student residences. The main workflow is resident registration with university-email and dormitory-code checks, followed by login and posting, browsing, and managing categorized requests or offers, including open/done status. The README also lists private messages, but the sampled chat route only renders a page, so its implementation and data flow are unclear. The graph reflects shown route and database calls; documented but unsampled capabilities are retained without guessed connections.
Main entry points: app.py Flask routes · database.py Database access · posts.py Post management · auth.py Session authentication
Components 15
Web application
- Flask routes
webapp/app.py - Site pages
webapp/templates - Resident profile
webapp/app.py - Contact form
webapp/app.py
Identity and validation
- Registration and login
webapp/app.py - Form validation
webapp/forms.py - Session authentication
webapp/auth.py
Community posts
- Request listing
webapp/app.py - Post management
webapp/posts.py - Private messages
webapp/templates/chat.html
Persistence and contact
- Database access
webapp/database.py - SQLite database
- Database schema
webapp/sql/create_tables.sql
Other components
- Resident
- Mail service
Connections 18
- Resident → Flask routes: uses
README.md - Flask routes → Site pages: renders
webapp/app.py - Flask routes → Post management: registers
webapp/app.py - Flask routes → Session authentication: loads user
webapp/app.py - Flask routes → Registration and login: routes to
webapp/app.py - Registration and login → Form validation: validates with
webapp/app.py - Registration and login → Database access: queries
webapp/app.py - Session authentication → Database access: loads user
webapp/auth.py - Flask routes → Request listing: routes to
webapp/app.py - Request listing → Database access: queries
webapp/app.py - Post management → Session authentication: requires login
webapp/posts.py - Post management → Form validation: validates with
webapp/posts.py - Post management → Database access: reads and writes
webapp/posts.py - Resident profile → Site pages: renders
webapp/app.py - Contact form → Form validation: validates with
webapp/app.py - Contact form → Mail service: sends email
webapp/app.py - Database access → SQLite database: accesses
webapp/database.py - Database access → Database schema: loads schema
webapp/database.py