How gayatri831/assignment-tracker works
Assignment Tracker is a small Flask web app for students to manage assignment deadlines. The main workflow submits assignments through a form, validates them, stores accepted entries in memory, and renders a dashboard with pending/completed counts and due-date ordering. Students can also toggle completion or delete entries; separate routes expose assignment JSON and a health response. The README documents these capabilities, while the sampled source shows their implementation in app.py. The graph omits delivery infrastructure and tests.
Main entry points: app.py Flask routes · index.html Assignment dashboard · base.html Shared page layout · style.css Page styling
Components 11
Web experience
- Flask routes
app.py - Dashboard rendering
app.py - Assignment dashboard
templates/index.html - Shared page layout
templates/base.html - Page styling
static/style.css
Assignment management
- Form validation
app.py
Runtime state and APIs
- In-memory assignments
app.py - Assignments JSON API
app.py - Health endpoint
app.py
Other components
- Student
- Render commit variable
Connections 13
- Student → Flask routes: submits requests
- Flask routes → Form validation: validates form
- Form validation → In-memory assignments: checks duplicates
- Flask routes → In-memory assignments: adds, toggles, deletes
- Flask routes → Dashboard rendering: renders homepage
- Dashboard rendering → In-memory assignments: reads and sorts
- Dashboard rendering → Render commit variable: reads commit ID
- Dashboard rendering → Assignment dashboard: renders data
- Assignment dashboard → Shared page layout: uses layout
- Shared page layout → Page styling: loads stylesheet
- Flask routes → Assignments JSON API: serves API route
- Assignments JSON API → In-memory assignments: reads assignments
- Flask routes → Health endpoint: serves health route