Public
Like
GuitarBoard
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: v2View latest version
A real-time chat application connecting guitarists from around the world.
- Real-time messaging using Server-Sent Events
- Guitar-themed interface with emoji reactions
- User nicknames and timestamps
- Responsive design with TailwindCSS
- SQLite message persistence
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema
β β βββ queries.ts # Message queries
β βββ index.ts # Main Hono server
βββ frontend/
β βββ components/
β β βββ App.tsx # Main chat interface
β β βββ ChatMessage.tsx # Message component
β β βββ MessageInput.tsx # Input component
β βββ index.html # Main HTML template
β βββ index.tsx # React entry point
βββ shared/
βββ types.ts # Shared TypeScript types
- Backend: Hono (TypeScript API framework)
- Frontend: React 18.2.0 with TypeScript
- Database: SQLite
- Styling: TailwindCSS
- Real-time: Server-Sent Events (SSE)
GET /- Serve the main chat interfaceGET /api/messages- Get recent messagesPOST /api/messages- Send a new messageGET /api/events- SSE endpoint for real-time updates
- Open the app in your browser
- Enter your guitarist nickname
- Start chatting with fellow guitarists!
- Use guitar emojis and share your musical experiences