• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Omosola_1

Omosola_1

Create

Public
Like
Create
Home
Code
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
6/2/2025
Viewing readonly version of main branch: v1
View latest version
README.md

Food & Diet Planner

A comprehensive food and diet application that provides personalized meal plans and nutrition guidance based on body types (ectomorph, mesomorph, endomorph).

Features

  • 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

Body Types Supported

  1. Ectomorph: Naturally lean, fast metabolism, difficulty gaining weight
  2. Mesomorph: Athletic build, gains muscle easily, moderate metabolism
  3. Endomorph: Larger frame, slower metabolism, gains weight easily

Project Structure

├── 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

Getting Started

  1. Visit the application homepage
  2. Take the body type assessment quiz
  3. View your personalized diet recommendations
  4. Browse the food menu for meal ideas
  5. Track your nutrition goals

Technology Stack

  • Backend: Hono.js API framework
  • Database: SQLite for data storage
  • Frontend: React with TypeScript
  • Styling: TailwindCSS
  • Deployment: Val Town platform
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.