ganeshotsav-2025-forms
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: v425View latest version
A modular Val Town application for collecting cultural program registrations for Ganeshotsav 2025.
├── backend/
│ ├── index.ts # Main entry point
│ ├── database.ts # Database operations
│ └── form-handler.ts # Form submission handling
├── frontend/
│ └── template.ts # HTML template generation
├── shared/
│ ├── types.ts # TypeScript interfaces
│ └── translations.ts # Multi-language translations
├── ganeshotsav-2025-forms.js # Val entry point
└── README.md
- Multi-language support (Gujarati, English, Hindi)
- Cultural program registration form
- SQLite database storage with upsert functionality
- Responsive design with dark mode support
- Dynamic form fields based on performance type
backend/index.ts
: Main request handlerbackend/database.ts
: Database initialization and operationsbackend/form-handler.ts
: Form data processing and validation
frontend/template.ts
: HTML template with embedded CSS and JavaScript
shared/types.ts
: TypeScript interfaces and typesshared/translations.ts
: Translation strings for all supported languages