How iammohdrazi/tasknest works
TaskNest is a task-management application with two interfaces: a Flask web app and a terminal CLI. The web workflow handles sign-in, task operations, and task exports; both interfaces delegate task operations to their own service/model layers and SQLite databases. The README also documents JSON, CSV, and TXT web exports, while CLI reports provide CSV export and summaries. The web routes and core layers are excerpted; template rendering is visible in app.py, but template internals were not sampled.
Main entry points: app.py Web routes and auth · main.py CLI menu · task_model.py Web task and user model · task_service.py Web task service
Components 16
Web application
- Web routes and auth
app.py - Web templates
templates - Web task export
app.py
CLI application
- CLI menu
cli_version/main.py
Task domain
- Web task service
services/task_service.py - Web task and user model
models/task_model.py - CLI task service
cli_version/services/task_service.py - CLI task model
cli_version/models/task_model.py
Persistence and reports
- Web database access
db/database.py - Web SQLite database
db/tasks.db - CLI database access
cli_version/db/database.py - CLI SQLite database
cli_version/db/tasks.db - CLI reports
cli_version/utils/reports.py - Web CSV report helper
utils/reports.py
Other components
- Web user
- CLI user
Connections 19
- Web user → Web routes and auth: uses
README.md - Web routes and auth → Web templates: renders
app.py - Web routes and auth → Web task service: calls task operations
app.py - Web routes and auth → Web task and user model: calls auth queries
app.py - Web routes and auth → Web database access: initializes
app.py - Web task export → Web task service: lists tasks
app.py - Web routes and auth → Web task export: routes exports
README.md - Web task service → Web task and user model: delegates task operations
services/task_service.py - Web task and user model → Web database access: gets connections
models/task_model.py - Web database access → Web SQLite database: opens
db/database.py - CLI user → CLI menu: uses
README.md - CLI menu → CLI task service: calls task operations
cli_version/main.py - CLI menu → CLI reports: requests reports
cli_version/main.py - CLI menu → CLI database access: initializes
cli_version/main.py - CLI task service → CLI task model: delegates task operations
cli_version/services/task_service.py - CLI reports → CLI task model: reads tasks
cli_version/utils/reports.py - CLI task model → CLI database access: gets connections
cli_version/models/task_model.py - CLI database access → CLI SQLite database: opens
cli_version/db/database.py - Web CSV report helper → Web task and user model: reads tasks
utils/reports.py