How stevenyonduan/deadlinesync works
DeadlineSync is a FastAPI deadline tracker. The visible workflow imports Canvas courses and assignments, stores assignments in SQLite, and exposes stored assignments through a dashboard route. Google sign-in is wired through session-backed routes; the README also describes a Bootstrap task interface and SendGrid reminders, though their implementation is not shown in the excerpts. The task routes and email service are present in the tree but empty in the excerpts, so their runtime connections are not established here.
Main entry points: main.py FastAPI app · canvas.py Canvas routes · database.py SQLite database · dashboard_routes.py Assignment listing
Components 15
Application and auth
- FastAPI app
app/main.py - Google OAuth
app/auth/google_oauth.py
Canvas assignments
- Canvas routes
app/routes/canvas.py
Persistence
- Assignment model
app/models/assignment.py - User model
app/models/user.py - SQLite database
app/database.py
Task experience
- Assignment listing
app/routes/dashboard_routes.py - Task routes
app/routes/tasks.py - Request schemas
app/schemas.py - Web templates
app/templates
Email reminders
- Email service
app/services/email.py
Other components
- User
- Google identity
- Canvas API
- SendGrid
Connections 17
- User → FastAPI app: uses
README.md - FastAPI app → Google OAuth: uses OAuth
app/main.py - Google OAuth → Google identity: registers provider
app/auth/google_oauth.py - FastAPI app → Canvas routes: mounts routes
app/main.py - FastAPI app → Assignment listing: mounts routes
app/main.py - Canvas routes → Canvas API: fetches courses
app/routes/canvas.py - Canvas routes → Canvas API: fetches assignments
app/routes/canvas.py - Canvas routes → Assignment model: creates records
app/routes/canvas.py - Canvas routes → SQLite database: queries and commits
app/routes/canvas.py - Assignment listing → Assignment model: queries records
app/routes/dashboard_routes.py - Assignment listing → SQLite database: opens session
app/routes/dashboard_routes.py - FastAPI app → SQLite database: creates tables
app/main.py - Assignment model → SQLite database: uses base
app/models/assignment.py - User model → SQLite database: uses base
app/models/user.py - User → Web templates: views tasks
README.md - Email service → SendGrid: sends reminders
README.md - FastAPI app → Email service: schedules reminders
README.md