• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
maxm

maxm

misc-fun

Public
Like
misc-fun
Home
Code
4
backend
3
frontend
4
shared
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
1
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.
Sign up now
Code
/
Code
/
Search
index.ts
https://maxm--5af8066446dc11f0825676b3cceeab13.web.val.run
README.md

Dinner Party Invitations

A web application for hosting dinner party invitations with RSVP functionality.

Features

  • Public Events Page: Display upcoming dinner parties
  • RSVP System: Guests can RSVP with name, email, and dietary restrictions
  • Admin Panel: Password-protected event creation and management
  • Privacy: RSVPs are private - guests cannot see other attendees

Structure

β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ database/
β”‚   β”‚   β”œβ”€β”€ migrations.ts    # Database schema setup
β”‚   β”‚   └── queries.ts       # Database query functions
β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”œβ”€β”€ admin.ts         # Admin authentication and event management
β”‚   β”‚   β”œβ”€β”€ events.ts        # Public event listing and RSVP handling
β”‚   β”‚   └── static.ts        # Static file serving
β”‚   └── index.ts             # Main Hono app entry point
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ App.tsx          # Main React app
β”‚   β”‚   β”œβ”€β”€ EventList.tsx    # Public events display
β”‚   β”‚   β”œβ”€β”€ RSVPForm.tsx     # RSVP form component
β”‚   β”‚   └── AdminPanel.tsx   # Admin event management
β”‚   β”œβ”€β”€ index.html           # Main HTML template
β”‚   β”œβ”€β”€ index.tsx            # Frontend entry point
β”‚   └── style.css            # Custom styles
β”œβ”€β”€ shared/
β”‚   └── types.ts             # Shared TypeScript types
└── README.md

Environment Variables

Set these in your Val Town environment:

  • ADMIN_PASSWORD: Password for admin access

Usage

  1. Visit the main page to see upcoming events
  2. Click "RSVP" on any event to submit your response
  3. Access /admin with the admin password to create/manage events
HTTP
  • index.ts
    maxm--5a…13.web.val.run
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.