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.
A wall of testimonials / wins. People can submit testimonials, an admin can approve or reject them, and approved ones appear on the public wall.
/โ Public win wall showing approved testimonials/submitโ Form for anyone to submit a testimonial/adminโ Admin panel to approve, reject, or delete testimonials
Rendering mermaid diagram...
index.ts โ Hono HTTP server (entrypoint)
api/
testimonials.ts โ REST API routes
database/
queries.ts โ SQLite query functions
shared/
types.ts โ TypeScript types shared between frontend & backend
frontend/
index.html โ HTML shell
index.tsx โ React entry point
api.ts โ Client-side API helpers
hooks/
useRoute.ts โ Simple client-side router hook
components/
App.tsx โ Root component with routing
Nav.tsx โ Navigation bar
TestimonialCard.tsx โ Card for the public wall
AdminCard.tsx โ Card with approve/reject/delete actions
pages/
WallPage.tsx โ Public testimonials wall
SubmitPage.tsx โ Submission form
AdminPage.tsx โ Admin management panel