How yuhashini29/todoapp works
This is a Flask-backed to-do application with browser-based login and task management, backed by SQLite. The main workflow is a user opening the dashboard, loading and filtering tasks, then creating, editing, completing, or deleting them; the browser requests task data and statistics from Flask, which reads or writes the per-user database. The repository contains a second, apparently duplicated application under todoapp/. Its sampled Python and JavaScript match the root copies, but the HTML and database contents were not inspected.
Main entry points: app.py Account handlers · todoapp/app.py Account handlers · app.js Task interactions · todoapp/app.js Task interactions
Components 17
Root application
- Login page
login.html - Task dashboard
index.html - Task interactions
app.js - Page styling
style.css - Account handlers
app.py - Task API
app.py - Task statistics
app.py
Todoapp copy
- Login page
todoapp/login.html - Task dashboard
todoapp/index.html - Task interactions
todoapp/app.js - Page styling
todoapp/style.css - Account handlers
todoapp/app.py - Task API
todoapp/app.py - Task statistics
todoapp/app.py
SQLite storage
- Task database
tasks.db - Task database
todoapp/tasks.db
Other components
- User
Connections 22
- User → Login page: opens
- User → Task dashboard: opens
- Account handlers → Login page: serves
app.py - Account handlers → Task dashboard: serves
app.py - Account handlers → Task interactions: serves
app.py - Account handlers → Page styling: serves
app.py - Task interactions → Task API: requests tasks
app.js - Task interactions → Task statistics: requests stats
app.js - Account handlers → Task database: initializes users and tasks
app.py - Task API → Task database: reads and writes
app.py - Task statistics → Task database: counts tasks
app.py - User → Login page: opens
- User → Task dashboard: opens
- Account handlers → Login page: serves
todoapp/app.py - Account handlers → Task dashboard: serves
todoapp/app.py - Account handlers → Task interactions: serves
todoapp/app.py - Account handlers → Page styling: serves
todoapp/app.py - Task interactions → Task API: requests tasks
todoapp/app.js - Task interactions → Task statistics: requests stats
todoapp/app.js - Account handlers → Task database: initializes users and tasks
todoapp/app.py - Task API → Task database: reads and writes
todoapp/app.py - Task statistics → Task database: counts tasks
todoapp/app.py