Love36
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.
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.
- 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
backend/- Hono API server and email processingfrontend/- Simple signup interfaceshared/- Common types and utilitiesemail-processor.ts- Email trigger for processing responsesdaily-sender.ts- Cron job for sending daily questions
- The app automatically creates database tables on first run
- Configure the cron schedule for
daily-sender.tsin the Val Town web UI (recommended: daily at 9 AM) - The email processor is automatically configured to handle email replies
- Signup: Couples visit the main page and enter both partners' information
- Daily Questions: Each day at the scheduled time, both partners receive the same question via email
- Responding: Partners reply to the email with their answer
- Sharing: Responses are automatically shared with the other partner via email
- Journey: The cycle continues for 36 days through all questions
Visit /admin to:
- View all registered couples and their progress
- Manually trigger daily question sending (for testing)
- Monitor the system status
- Daily Question: Both partners receive an email with the day's question
- Response: When a partner replies to the email, their response is processed
- Notification: The other partner receives an email with their partner's response
- Storage: All responses are stored in the database for the couple's record