How vishnuajay2711/docket works
Docket is a Flask task manager. Users register or log in, then view their personal tasks, search and filter them, and add, edit, delete, or toggle completion; task records include priority, category, and due date, which supports overdue presentation. Routes enforce ownership and use SQLAlchemy models for persistence, while Jinja templates render the interface. The README also documents responsive styling and combined filters. The source excerpts show route and model behavior; template internals were not sampled, so presentation links are limited to rendering.
Main entry points: auth.py Auth routes · routes.py Task routes · __init__.py App setup · styles Page styling
Components 15
Web application
- Application entry
app.py - App setup
app/__init__.py - SQLite database
Identity
- Auth routes
app/auth.py - User model
app/models.py - Login manager
Task management
- Task routes
app/routes.py - Task model
app/models.py
User interface
- Task list view
templates/home.html - Add task view
templates/add_tasks.html - Edit task view
templates/edit_tasks.html - Login view
templates/login.html - Registration view
templates/register.html - Page styling
styles
Other components
- User
Connections 22
- User → Auth routes: submits credentials
- Auth routes → User model: queries and creates
- Auth routes → SQLite database: persists users
- Auth routes → Login manager: starts or ends session
- Auth routes → Login view: renders
- Auth routes → Registration view: renders
- Auth routes → Task routes: redirects after login
- User → Task routes: manages tasks
- Task routes → Task model: queries and updates
- Task routes → SQLite database: reads and commits
- Task routes → Task list view: renders filtered tasks
- Task routes → Add task view: renders add form
- Task routes → Edit task view: renders edit form
- Application entry → App setup: starts app
- App setup → Auth routes: registers blueprint
- App setup → Task routes: registers blueprint
- App setup → SQLite database: initializes schema
- App setup → Login manager: initializes
- Login manager → User model: loads user
- Task list view → Page styling: uses styling
- Add task view → Page styling: uses styling
- Edit task view → Page styling: uses styling