misc-fun
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: v10View latest version
A web application for hosting dinner party invitations with RSVP functionality.
- 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
├── 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
Set these in your Val Town environment:
ADMIN_PASSWORD: Password for admin access
- Visit the main page to see upcoming events
- Click "RSVP" on any event to submit your response
- Access
/adminwith the admin password to create/manage events