A simple, full-stack to-do list application built with Val Town.
├── backend/
│ ├── index.ts # Main Hono API server
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ └── routes/
│ └── tasks.ts # Task CRUD operations
├── frontend/
│ ├── index.html # Main HTML template
│ ├── index.tsx # React frontend
│ └── components/
│ ├── App.tsx # Main app component
│ ├── TaskItem.tsx # Individual task component
│ └── TaskForm.tsx # Add/edit task form
└── shared/
└── types.ts # Shared TypeScript types
GET /api/tasks
- Get all tasksPOST /api/tasks
- Create a new taskPUT /api/tasks/:id
- Update a taskDELETE /api/tasks/:id
- Delete a task