FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
M_mb_a
M_mb_auntitled-8829
Public
Like
untitled-8829
Home
Code
5
backend
3
frontend
4
shared
1
README.md
main.tsx
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
index.ts
https://M_mb_a--d07dcce03fb911f0ab0b76b3cceeab13.web.val.run
README.md

Event Discovery & Chat App

A comprehensive platform for discovering local events and connecting with other attendees through real-time chat.

Features

  • Event Discovery: Browse events happening around you
  • Event Management: Organizers can create and manage events
  • Real-time Chat: Chat with other attendees planning to attend the same event
  • Location-based: Find events near your location
  • Age Restrictions: Events can specify age limits
  • Time-based Chat: Chat rooms automatically close when events end

Project Structure

├── backend/
│   ├── database/
│   │   ├── migrations.ts    # Database schema setup
│   │   └── queries.ts       # Database query functions
│   ├── routes/
│   │   ├── events.ts        # Event CRUD operations
│   │   ├── chat.ts          # Chat functionality
│   │   └── static.ts        # Static file serving
│   └── index.ts             # Main Hono server
├── frontend/
│   ├── components/
│   │   ├── App.tsx          # Main application component
│   │   ├── EventList.tsx    # Event discovery interface
│   │   ├── EventForm.tsx    # Event creation form
│   │   ├── ChatRoom.tsx     # Chat interface
│   │   └── LocationPicker.tsx # Location selection
│   ├── index.html           # Main HTML template
│   ├── index.tsx            # Frontend entry point
│   └── style.css            # Custom styles
└── shared/
    └── types.ts             # Shared TypeScript types

Tech Stack

  • Backend: Hono (TypeScript API framework)
  • Frontend: React with TypeScript
  • Database: SQLite
  • Styling: TailwindCSS
  • Real-time: Server-Sent Events (SSE)

Getting Started

  1. The app will automatically set up the database on first run
  2. Visit the main page to browse events or create new ones
  3. Join event chats to connect with other attendees
  4. Event organizers can manage their events through the interface
HTTP
  • index.ts
    M_mb_a--d0…13.web.val.run
Code
backendfrontendsharedREADME.mdmain.tsx
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.