How 1younesalloui/to-do-list works
This is a Django productivity workspace with an Electron desktop wrapper. The principal workflow is task creation and planning through CRUD APIs, calendar and list views, with tasks persisted in SQLite; users can open task-linked documents, save content, and export it. Separate backend capabilities provide analytics and AI-assisted chat, summarization, and humanization. The README also describes a theme switcher. The sampled views and routes support the backend links; the README documents the product capabilities. The frontend templates and their API calls were not sampled, so those interactions are not asserted.
Main entry points: urls.py App routes · models.py Task model · main.js Electron client · page.html Document editor
Components 18
Desktop shell
- Electron client
desktop-app/main.js - Django process
app/manage.py
Workspace experience
- Workspace pages
app/templates/home.html - Task planner
app/templates/to_do_list/todo_list.html - Calendar planner
app/templates/to_do_list/calendar.html - Document editor
app/templates/page.html - Theme switcher
app/todo/static/js/style.js
Django services
- Project routes
app/app/urls.py - App routes
app/todo/urls.py - Task CRUD
app/todo/views.py - Document save
app/todo/views.py - Document exports
app/todo/views.py - Productivity analytics
app/todo/views.py - AI assistant
app/todo/views.py
Persistence and integrations
- Task model
app/todo/models.py - SQLite database
app/app/settings.py - Groq API
Other components
- User
Connections 25
- User → Electron client: opens
README.md - Electron client → Django process: spawns
desktop-app/main.js - Electron client → Project routes: loads server
desktop-app/main.js - Project routes → App routes: includes
app/app/urls.py - App routes → Task CRUD: routes to
app/todo/urls.py - App routes → Document save: routes to
app/todo/urls.py - App routes → Document exports: routes to
app/todo/urls.py - App routes → Productivity analytics: routes to
app/todo/urls.py - App routes → AI assistant: routes to
app/todo/urls.py - App routes → Workspace pages: serves pages
- App routes → Task planner: serves page
- App routes → Calendar planner: serves page
- App routes → Document editor: serves page
- User → Task planner: plans tasks
README.md - User → Calendar planner: plans dates
README.md - User → Document editor: edits content
README.md - Task CRUD → Task model: reads writes
app/todo/views.py - Document save → Task model: saves content
app/todo/views.py - Productivity analytics → Task model: queries tasks
app/todo/views.py - Task model → SQLite database: persists in
app/app/settings.py - User → Theme switcher: selects theme
app/todo/static/js/style.js - AI assistant → Groq API: requests completion
app/todo/views.py - User → Productivity analytics: views metrics
README.md - User → AI assistant: uses assistant
README.md - Document editor → Document exports: exports document
README.md