Public
Like
To-Do-List
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.
index.ts
https://Moeakae--d7832b9a3fb211f0adec76b3cceeab13.web.val.run
A full-stack to-do list application built with Hono backend and React frontend.
- β Add new tasks
- β Mark tasks as complete/incomplete
- β Delete tasks
- β Persistent storage with SQLite
- β Clean, responsive UI with TailwindCSS
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema
β β βββ queries.ts # Database operations
β βββ routes/
β β βββ todos.ts # Todo API routes
β βββ index.ts # Main server entry point
βββ frontend/
β βββ components/
β β βββ App.tsx # Main app component
β β βββ TodoForm.tsx # Add todo form
β β βββ TodoItem.tsx # Individual todo item
β β βββ TodoList.tsx # Todo list container
β βββ index.html # HTML template
β βββ index.tsx # Frontend entry point
βββ shared/
β βββ types.ts # Shared TypeScript types
βββ README.md
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 app is automatically deployed and accessible via the HTTP trigger. Simply visit the URL to start managing your tasks!