FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
charmaine
charmainesimple-form
Public
Like
simple-form
Home
Code
3
README.md
db.ts
H
main.ts
Branches
1
Pull requests
Remixes
1
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 milliseconds.
Sign up now
Code
/
Code
/
Search
main.ts
https://charmaine--acd1ac7c716311f0b43e0224a6c84d84.web.val.run
README.md

Simple Form with SQLite

A minimal form that collects user data and stores it in SQLite.

Files

  • main.ts - HTTP val with form and submission handling
  • db.ts - SQLite database operations

Usage

Visit the HTTP endpoint to see the form. Submit name and email to store in database.

Database

Data is stored in form_submissions table with columns:

  • id (auto-increment)
  • name
  • email
  • created_at (timestamp)
HTTP
  • main.ts
    charmaine--ac…84.web.val.run
Code
README.mddb.ts
H
main.ts
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.