Public
Like
weddingintros
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.
index.ts
https://FusionI--4906221835b811f0988f9e149126039e.web.val.run
A web application for browsing, customizing, and ordering wedding invitation videos via WhatsApp.
- Browse different wedding video themes
- Preview themes with sample videos
- Customize wedding details
- Order directly via WhatsApp
- Optional payment methods
├── backend/
│ └── index.ts # Main API handler with Hono
├── frontend/
│ ├── app.js # Main application logic
│ ├── index.html # Main landing page
│ └── themes.js # Theme data and selection logic
└── README.md
- Users browse the available wedding video themes
- They select a theme they like and can preview it
- After selecting a theme, they fill in their wedding details
- They click "Order via WhatsApp" which opens WhatsApp with a pre-filled message
- The business owner receives the order details via WhatsApp and can discuss payment options
- Frontend: HTML, CSS (with TailwindCSS), JavaScript
- Backend: TypeScript with Hono framework
- WhatsApp integration for ordering
- Val Town for hosting and deployment
GET /api/themes- Get all available themesGET /api/themes/:id- Get a specific theme by IDPOST /api/orders- Submit an order (currently just returns success)
The application supports various payment methods which can be discussed with customers via WhatsApp after they place an order:
- Bank transfers
- Credit/debit cards
- Mobile payment services
- Other payment methods as requested
Each wedding invitation video can be customized with:
- Bride and groom names
- Wedding date
- Venue details
- Additional information
- Personal photos (sent via WhatsApp)
- Direct payment integration
- More theme options
- Video preview customization
- User accounts for order tracking
- Email notifications