How salsabeelquraan/todo-app works
My Tasks is a browser-based to-do app backed by an Express REST API and PostgreSQL. The user works in the browser UI; the client loads tasks, applies task edits and ordering through the API, and updates its rendered view. The API validates requests and persists task data. The README documents additional client capabilities, including search, filters, due-date indicators, themes, counters, and undo. Client source is excerpted only in part, so those capabilities are represented at the client level rather than as separately verified modules.
Main entry points: server.js REST routes · index.html Task interface · script.js Task interactions · schema.sql Task schema
Components 7
Browser app
- Task interface
public/index.html - Task interactions
public/script.js
API
- REST routes
server.js - Request validation
server.js
Task storage
- Task schema
schema.sql - PostgreSQL
Other components
- Task user
Connections 6
- Task user → Task interface: uses
README.md - Task interface → Task interactions: hosts
README.md - Task interactions → REST routes: fetches tasks
public/script.js - REST routes → Request validation: validates input
server.js - REST routes → PostgreSQL: queries
server.js - Task schema → PostgreSQL: defines tables
README.md