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