FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
Njidenwa
NjidenwalinkInBioTemplate
Remix of valdottown/linkInBioTemplate
Public
Like
linkInBioTemplate
Home
Code
4
backend
1
shared
1
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
6/2/2025
README.md

To-Do App

A full-stack to-do application built with Hono backend and React frontend.

Features

  • ✅ Add new tasks
  • ✅ Mark tasks as complete/incomplete
  • ✅ Delete tasks
  • ✅ Persistent storage with SQLite
  • ✅ Real-time updates
  • ✅ Clean, responsive UI

Project Structure

├── backend/
│   ├── database/
│   │   ├── migrations.ts    # Database schema
│   │   └── queries.ts       # Database operations
│   ├── routes/
│   │   └── todos.ts         # Todo API routes
│   └── index.ts             # Main backend 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

API Endpoints

  • GET /api/todos - Get all todos
  • POST /api/todos - Create a new todo
  • PUT /api/todos/:id - Update a todo
  • DELETE /api/todos/:id - Delete a todo

Tech Stack

  • Backend: Hono, SQLite
  • Frontend: React, TypeScript
  • Styling: TailwindCSS
  • Platform: Val Town
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.