FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
kyumz
kyumzForms
Public
Like
Forms
Home
Code
4
backend
3
frontend
3
shared
1
README.md
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://kyumz--c5665ada3fa411f0ae9576b3cceeab13.web.val.run
README.md

Form Builder App

A comprehensive form builder application that allows users to create custom forms with drag-and-drop functionality, share them via links, and manage responses.

Features

  • Form Creation: Drag-and-drop form builder with various input types
  • Input Types: Text, email, dropdown, checkboxes, radio buttons, textarea, number, date
  • Form Sharing: Automatic link generation for sharing forms
  • Response Management: View responses in a dashboard and export to CSV
  • Email Notifications: Optional email notifications for form submissions
  • Embed Support: Generate embed codes for websites

Project Structure

├── backend/
│   ├── database/
│   │   ├── migrations.ts    # Database schema setup
│   │   └── queries.ts       # Database query functions
│   ├── routes/
│   │   ├── forms.ts         # Form CRUD operations
│   │   ├── responses.ts     # Response handling
│   │   └── static.ts        # Static file serving
│   └── index.ts             # Main Hono server
├── frontend/
│   ├── components/
│   │   ├── App.tsx          # Main application component
│   │   ├── FormBuilder.tsx  # Drag-and-drop form builder
│   │   ├── FormRenderer.tsx # Form display and submission
│   │   └── Dashboard.tsx    # Response dashboard
│   ├── index.html           # Main HTML template
│   └── index.tsx            # Frontend entry point
└── shared/
    └── types.ts             # Shared TypeScript types

Getting Started

  1. The app runs on Val Town's serverless platform
  2. Access the form builder at the root URL
  3. Create forms using the drag-and-drop interface
  4. Share forms using the generated links
  5. View responses in the dashboard

API Endpoints

  • GET / - Form builder interface
  • POST /api/forms - Create a new form
  • GET /api/forms/:id - Get form details
  • GET /form/:id - Public form view
  • POST /api/forms/:id/submit - Submit form response
  • GET /api/forms/:id/responses - Get form responses
  • GET /api/forms/:id/export - Export responses to CSV
HTTP
  • index.ts
    kyumz--c5…13.web.val.run
Code
backendfrontendsharedREADME.md
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.