How aymenghrab-2006/todolist-v2 works
This is a browser-based Eisenhower Matrix task manager: visitors create or select tasks, the app classifies and displays them by urgency and importance for today and tomorrow, and schedules urgent-important work with overflow persisted to the server. The README documents editing, completion, filtering, validation, and anonymous per-browser persistence. The sampled code shows browser scheduling/API calls and server routes, validation, cookie identity, and MongoDB access; unsampled markup is represented only where the README describes it.
Main entry points: server.js Task API routes · script.js Load quadrants · index.html Task page
Components 14
Browser task app
- Task page
index.html - Task forms
index.html - Create and edit
script.js - Quadrant lookup
script.js - Load quadrants
script.js - Matrix display
script.js - Daily scheduling
script.js - Day start times
script.js
Task API
- Task API routes
server.js - Task validation
server.js
Session and storage
- Anonymous identity
server.js - Task collection
server.js - Local storage
script.js
Other components
- Visitor
Connections 16
- Visitor → Task page: uses
README.md - Task page → Task forms: offers
README.md - Task forms → Create and edit: submits
script.js - Create and edit → Task API routes: posts create/edit
script.js - Task API routes → Task validation: validates
server.js - Task API routes → Task collection: writes and reads
server.js - Task API routes → Anonymous identity: scopes requests
server.js - Visitor → Quadrant lookup: selects quadrant
README.md - Quadrant lookup → Task API routes: fetches tasks
script.js - Load quadrants → Task API routes: fetches quadrants
script.js - Load quadrants → Daily scheduling: schedules urgent tasks
script.js - Daily scheduling → Task API routes: saves adjournments
script.js - Load quadrants → Matrix display: renders tasks
script.js - Daily scheduling → Day start times: reads start time
script.js - Day start times → Local storage: stores per day
README.md - Task API routes → Task collection: deletes tasks
server.js