FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
stevekrouse
stevekrousereactHonoExample
Example with client-side React & Hono server
Public
Like
2
reactHonoExample
Home
Code
4
backend
3
frontend
6
shared
2
README.md
Branches
3
Pull requests
Remixes
15
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 miliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
3/20/2025
Viewing readonly version of main branch: v224
View latest version
README.md@224

React Hono Val Town Project Starter Template

This is a starter template for a full-stack app in a Val Town Project. The app itself is a simple persistent message board.

This app is broken up into three folders, corresponding to where the code in those folders run:

  • backend/ - runs on Val Town serverless infrastructure in Deno
  • frontend/ - runs in the user's browser
  • shared/ - runs in both the frontend and backend

The entrypoint of this app is backend/index.ts, which is the Hono HTTP server, which serves the HTML, CSS, and JS, which run client-side.

You can click into each of those folders to view their respective READMEs.

Contributing

This template is actively accepting pull requests, particularly for bugs, but also for anything that can be done more idiomatically.

If you'd like to make a template with other technologies choices (ie no Hono or no React), please create a new template and we can link to it from this one as another way to go. Eventually, we'd like to be many templates that show how to use Projects. The next one I'm personally excited about making is a fullstack React Router 7 one. This one is a good start, but I'd like to rebuild the message board app from this template in that format.

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.