Public
Like
1
MYHEALTHSOURCE
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.
Viewing readonly version of main branch: v39View latest version
A complete health management platform built on Val Town with essential health tools and resources.
- BMI Calculator - Calculate and track Body Mass Index
- Health Tracker - Log daily health metrics (weight, blood pressure, heart rate)
- Symptom Checker - Basic symptom assessment tool
- Medication Reminder - Track medications and dosages
- Appointment Booking - Schedule healthcare appointments
- Doctor Directory - Find healthcare providers
- Health Records - Store and manage health documents
- Emergency Contacts - Quick access to emergency services
- Health Articles - Educational content and tips
- Health Dictionary - Comprehensive medical terminology and definitions
- Exercise Library - Workout routines and fitness guides
- Nutrition Guide - Dietary information and meal planning
- Mental Health Resources - Wellness and mental health support
- HealthBot - AI-powered chatbot for health Q&A
- Conversation Logging - Chat history sent to site managers
- Smart Suggestions - Contextual quick replies and recommendations
- 24/7 Availability - Always available health assistant
- Health Dashboard - Overview of all health metrics
- Progress Tracking - Visual charts and trends
- Health Goals - Set and track health objectives
- Health Dictionary - Medical terms and definitions lookup
- AI Chatbot - 24/7 health assistant with conversation logging
- Tabbed Navigation - Easy switching between features
- Community Forum - Connect with other users
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ ├── routes/
│ │ ├── health.ts # Health tracking endpoints
│ │ ├── appointments.ts # Appointment management
│ │ ├── articles.ts # Health articles API
│ │ └── static.ts # Static file serving
│ └── index.ts # Main Hono server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application
│ │ ├── Dashboard.tsx # Health dashboard
│ │ ├── BMICalculator.tsx
│ │ ├── HealthTracker.tsx
│ │ ├── AppointmentBooking.tsx
│ │ └── [other components]
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
└── shared/
├── types.ts # Shared TypeScript types
└── utils.ts # Shared utility functions
- Backend: Hono.js API framework
- Frontend: React 18.2.0 with TypeScript
- Database: SQLite for data persistence
- Styling: TailwindCSS
- Storage: Val Town Blob storage for files
- The backend server runs on
/backend/index.ts
- Frontend is served from
/frontend/index.html
- Database is automatically initialized on first run
- All health data is stored securely in SQLite
GET /
- Main applicationGET /api/health/*
- Health tracking endpointsGET /api/appointments/*
- Appointment managementGET /api/articles/*
- Health articlesPOST /api/health/track
- Log health metricsPOST /api/appointments/book
- Book appointment
No API keys required - uses open health data sources and local storage.