untitled-6073
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
A simple, full-stack to-do list application built with Val Town.
- ✅ Add new tasks
- ✏️ Edit existing tasks
- ❌ Delete tasks
- ☑️ Mark tasks as complete/incomplete
- 💾 Persistent storage with SQLite
├── 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
- Backend: Hono (API framework)
- Database: SQLite
- Frontend: React with TypeScript
- Styling: TailwindCSS