FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
codeanand
codeanandLove36
Public
Like
2
Love36
Home
Code
6
backend
2
frontend
2
shared
1
README.md
C
daily-sender.ts
E
email-processor.ts
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 milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://codeanand--9554b55068f111f091890224a6c84d84.web.val.run
README.md

36 Questions for Couples

An app that emails couples one question per day from the famous "36 Questions That Lead to Love" study, stores their responses, and shares responses between partners.

Features

  • Daily email delivery of questions to couples
  • Response collection via email replies
  • Secure storage of responses
  • Automatic sharing of responses between partners
  • 36-day journey through the complete question set

Project Structure

  • backend/ - Hono API server and email processing
  • frontend/ - Simple signup interface
  • shared/ - Common types and utilities
  • email-processor.ts - Email trigger for processing responses
  • daily-sender.ts - Cron job for sending daily questions

Setup

  1. The app automatically creates database tables on first run
  2. Configure the cron schedule for daily-sender.ts in the Val Town web UI (recommended: daily at 9 AM)
  3. The email processor is automatically configured to handle email replies

Usage

  1. Signup: Couples visit the main page and enter both partners' information
  2. Daily Questions: Each day at the scheduled time, both partners receive the same question via email
  3. Responding: Partners reply to the email with their answer
  4. Sharing: Responses are automatically shared with the other partner via email
  5. Journey: The cycle continues for 36 days through all questions

Admin Interface

Visit /admin to:

  • View all registered couples and their progress
  • Manually trigger daily question sending (for testing)
  • Monitor the system status

Email Flow

  1. Daily Question: Both partners receive an email with the day's question
  2. Response: When a partner replies to the email, their response is processed
  3. Notification: The other partner receives an email with their partner's response
  4. Storage: All responses are stored in the database for the couple's record
HTTP
  • index.ts
    codeanand--95…84.web.val.run
Cron
  • daily-sender.ts
Email
  • email-processor.ts
Code
backendfrontendsharedREADME.md
C
daily-sender.ts
E
email-processor.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.