Create
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: v1View latest version
A comprehensive food and diet application that provides personalized meal plans and nutrition guidance based on body types (ectomorph, mesomorph, endomorph).
- Body Type Assessment: Determine your body type through a simple questionnaire
- Personalized Diet Plans: Custom meal plans tailored to your body type and goals
- Food Menu Database: Extensive collection of healthy recipes and meal options
- Nutrition Tracking: Calorie and macronutrient information for all meals
- Goal-Based Recommendations: Different plans for weight loss, muscle gain, and maintenance
- Ectomorph: Naturally lean, fast metabolism, difficulty gaining weight
- Mesomorph: Athletic build, gains muscle easily, moderate metabolism
- Endomorph: Larger frame, slower metabolism, gains weight easily
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ ├── routes/
│ │ ├── diet.ts # Diet plan endpoints
│ │ ├── food.ts # Food menu endpoints
│ │ └── assessment.ts # Body type assessment
│ └── index.ts # Main API server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application
│ │ ├── BodyTypeQuiz.tsx
│ │ ├── DietPlan.tsx
│ │ ├── FoodMenu.tsx
│ │ └── NutritionCard.tsx
│ ├── index.html # Main HTML template
│ └── index.tsx # Frontend entry point
└── shared/
├── types.ts # Shared TypeScript types
└── utils.ts # Utility functions
- Visit the application homepage
- Take the body type assessment quiz
- View your personalized diet recommendations
- Browse the food menu for meal ideas
- Track your nutrition goals
- Backend: Hono.js API framework
- Database: SQLite for data storage
- Frontend: React with TypeScript
- Styling: TailwindCSS
- Deployment: Val Town platform