project1
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
A simple, responsive to-do list application built with vanilla HTML, CSS, and JavaScript.
- ✅ Add new tasks
- ✅ Mark tasks as complete/incomplete
- ✅ Delete tasks
- ✅ Persistent storage with SQLite
- ✅ Clean, responsive UI
- ✅ Real-time updates
├── 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 todo
The application will automatically set up the database on first run. Simply access the HTTP endpoint to start using the to-do app.