Public
Like
my-first-val
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.
Viewing readonly version of main branch: v7View latest version
A real-time public chatroom for team collaboration on company retreat travel planning.
- Real-time messaging with automatic updates
- Clean, responsive interface
- Message timestamps
- No authentication required (public access)
- Persistent message history
backend/index.ts- Hono API server with chat endpointsbackend/database/- SQLite setup and queriesfrontend/index.html- Main chat interfacefrontend/index.tsx- React chat applicationshared/types.ts- Shared TypeScript interfaces
Access the chatroom at the HTTP endpoint. Messages are stored persistently and visible to all team members.
GET /- Chat interfaceGET /api/messages- Fetch recent messagesPOST /api/messages- Send new messageGET /api/messages/stream- Server-sent events for real-time updates