public
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.
index.ts
https://MrsJD--622413563f9311f09cea76b3cceeab13.web.val.run
A comprehensive web application for tracking menstrual cycles, symptoms, and health insights.
- Cycle Tracking: Log period start/end dates and flow intensity
- Predictions: Automatic calculation of next period and fertile window
- Symptom Tracking: Track mood, pain levels, and other symptoms
- Calendar View: Visual calendar showing cycle phases and predictions
- Insights: Cycle length trends and pattern analysis
- Data Export: Download your data as JSON
โโโ backend/
โ โโโ database/
โ โ โโโ migrations.ts # Database schema setup
โ โ โโโ queries.ts # Database query functions
โ โโโ routes/
โ โ โโโ cycles.ts # Cycle CRUD operations
โ โ โโโ symptoms.ts # Symptom tracking
โ โ โโโ static.ts # Static file serving
โ โโโ index.ts # Main Hono server
โโโ frontend/
โ โโโ components/
โ โ โโโ App.tsx # Main application component
โ โ โโโ Calendar.tsx # Calendar view
โ โ โโโ CycleForm.tsx # Period logging form
โ โ โโโ SymptomForm.tsx # Symptom tracking form
โ โ โโโ Insights.tsx # Analytics and insights
โ โโโ index.html # Main HTML template
โ โโโ index.tsx # React entry point
โ โโโ style.css # Custom styles
โโโ shared/
โโโ types.ts # Shared TypeScript types
- The app will automatically create the database tables on first run
- Navigate to the main page to start tracking your cycle
- Use the calendar view to see predictions and cycle phases
- Track symptoms daily for better insights
All data is stored locally in your Val Town SQLite database. No data is shared with third parties.