FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
Naa56
Naa56my-first-val
Public
Like
my-first-val
Home
Code
8
backend
3
frontend
2
shared
2
01_script.tsx
H
02_http.tsx
C
03_cron.tsx
E
04_email.tsx
README.md
Branches
1
Pull requests
Remixes
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
/
Code
/
Search
02_http.tsx
https://Naa56--810c836e3fa911f0bcae76b3cceeab13.web.val.run
README.md

Team Travel Itinerary Chatroom

A real-time public chatroom for team collaboration on company retreat travel planning.

Features

  • Real-time messaging with automatic updates
  • Clean, responsive interface
  • Message timestamps
  • No authentication required (public access)
  • Persistent message history

Structure

  • backend/index.ts - Hono API server with chat endpoints
  • backend/database/ - SQLite setup and queries
  • frontend/index.html - Main chat interface
  • frontend/index.tsx - React chat application
  • shared/types.ts - Shared TypeScript interfaces

Usage

Access the chatroom at the HTTP endpoint. Messages are stored persistently and visible to all team members.

API Endpoints

  • GET / - Chat interface
  • GET /api/messages - Fetch recent messages
  • POST /api/messages - Send new message
  • GET /api/messages/stream - Server-sent events for real-time updates
HTTP
  • 02_http.tsx
    Naa56--81…13.web.val.run
Cron
  • 03_cron.tsx
Email
  • 04_email.tsx
Code
backendfrontendshared01_script.tsx
H
02_http.tsx
C
03_cron.tsx
E
04_email.tsx
README.md
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.