How miorena/taskmanager works
Task Manager is a React/Express task CRUD application. Users manage tasks in the React interface; its App component sends REST requests to the Express API, which validates identifiers where needed and uses a Sequelize task model backed by SQLite. The UI also supports completion toggles, filtering, sorting, task statistics, and bulk deletion. Relationships are limited to calls and wiring visible in the excerpts or README; the frontend-to-API connection is supported by App’s request paths and the documented REST API, while the SQLite database file is created at runtime.
Main entry points: App.js Task UI and actions · index.js React entry · app.js Express server · tasks.js Task REST routes
Components 11
React frontend
- React entry
tasks-frontend/src/index.js - Task UI and actions
tasks-frontend/src/App.js - Add task modal
tasks-frontend/src/AddTaskModal.js - Confirmation modal
tasks-frontend/src/ConfirmModal.js - Web vitals reporting
tasks-frontend/src/reportWebVitals.js
Express API
- Express server
tasks-api/app.js - Task REST routes
tasks-api/routes/tasks.js - ID validation
tasks-api/middleware/validateId.js
Task persistence
- Task data model
tasks-api/models/index.js - SQLite database
Other components
- Task manager user
Connections 13
- Task manager user → React entry: uses
README.md - React entry → Task UI and actions: renders
tasks-frontend/src/index.js - React entry → Web vitals reporting: calls
tasks-frontend/src/index.js - Task UI and actions → Add task modal: renders
tasks-frontend/src/App.js - Task UI and actions → Confirmation modal: renders
tasks-frontend/src/App.js - Add task modal → Task UI and actions: calls add callback
tasks-frontend/src/App.js - Confirmation modal → Task UI and actions: calls confirm callback
tasks-frontend/src/App.js - Task UI and actions → Express server: sends REST requests
tasks-frontend/src/App.js - Express server → Task REST routes: mounts routes
tasks-api/app.js - Express server → Task data model: syncs database
tasks-api/app.js - Task REST routes → ID validation: validates IDs
tasks-api/routes/tasks.js - Task REST routes → Task data model: queries and updates
tasks-api/routes/tasks.js - Task data model → SQLite database: persists task data
tasks-api/models/index.js