How pshanthan/task-board works
TaskBoard is an Angular task-management app. A browser loads the application, which bootstraps its root component and configures routing; navigating to /list opens the task list. The list component loads, creates, edits, and deletes tasks through a service that sends HTTP requests to a local tasks API. Task defines the data shape used by the list and service. The excerpts show the API URL and calls, but do not establish how the API is implemented or whether db.json backs it.
Main entry points: main.ts Application bootstrap · list.component.ts Task list UI · task.service.ts Task service · app.config.ts App configuration
Components 9
Application shell
- Application bootstrap
src/main.ts - Root component
src/app/app.component.ts - App configuration
src/app/app.config.ts - Route definitions
src/app/app.routes.ts
Task management
- Task list UI
src/app/list/list.component.ts
Task data
- Task service
src/app/task.service.ts - Task model
src/app/models/Task.ts
Other components
- Browser user
- Local tasks API
Connections 9
- Browser user → Application bootstrap: loads app
src/main.ts - Application bootstrap → Root component: bootstraps
src/main.ts - Application bootstrap → App configuration: provides config
src/main.ts - App configuration → Route definitions: provides routes
src/app/app.config.ts - Route definitions → Task list UI: routes to
src/app/app.routes.ts - Task list UI → Task service: requests tasks
src/app/list/list.component.ts - Task list UI → Task model: uses task shape
src/app/list/list.component.ts - Task service → Task model: uses task shape
src/app/task.service.ts - Task service → Local tasks API: sends HTTP requests
src/app/task.service.ts