
Public
reactHonoExample
Viewing readonly version: 216View latest version
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 Denofrontend/
- runs in the user's browsershared/
- 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.
- Click
Fork
on the top-right to run this Project on your account. - Go to
/backend/index.ts
and click on the ... menu on the HTTP Preview and click Pin to Home. (We will soon do this for you automatically.) - Customize the project for your own use-case!
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.