• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
devto

devto

adportal

Unlisted
Like
adportal
Home
Code
7
README.md
continue.html
database.ts
email.ts
H
index.ts
landing.html
utils.ts
Branches
2
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 milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/6/2025
Viewing readonly version of main branch: v11
View latest version
README.md

LauraMepson Landing Page

A landing page application that collects company information and allows users to add additional details through email links.

Features

  • Simple landing page with LauraMepson branding
  • Form to collect company name and email
  • SQLite database storage for submissions
  • Email functionality to send users a unique link
  • Continuation page for adding more information

Project Structure

  • index.ts - Main HTTP endpoint and route handling
  • database.ts - SQLite database operations
  • email.ts - Email sending functionality
  • utils.ts - Helper functions
  • landing.html - Main landing page
  • continue.html - Page for adding additional information

Database Schema

The application uses a SQLite database with the following schema:

CREATE TABLE IF NOT EXISTS laura_mepson_submissions_v1 ( id TEXT PRIMARY KEY, company_name TEXT NOT NULL, email TEXT NOT NULL, created_at TEXT NOT NULL, additional_fields TEXT )

User Flow

  1. User visits the landing page
  2. User submits company name and email
  3. Data is saved to SQLite database
  4. User receives an email with a unique link
  5. User can click the link to add more information
  6. Additional information is saved to the database

Development Notes

  • When modifying the database schema, create a new table with a new version number
  • Email templates are defined in email.ts
  • The unique ID generation is handled in utils.ts
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.