A simple, responsive to-do list application built with vanilla HTML, CSS, and JavaScript.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ └── todos.ts # Todo API endpoints
│ └── index.ts # Main Hono server
├── frontend/
│ ├── index.html # Main HTML template
│ ├── style.css # CSS styles
│ └── script.js # JavaScript functionality
└── shared/
└── types.ts # Shared TypeScript types
GET /api/todos - Get all todosPOST /api/todos - Create a new todoPUT /api/todos/:id - Update a todoDELETE /api/todos/:id - Delete a todoThe application will automatically set up the database on first run. Simply access the HTTP endpoint to start using the to-do app.