MealplanApp
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: v7View latest version
A comprehensive meal planning tool designed for busy professionals to generate personalized meal plans based on dietary preferences and fitness goals.
- Personalized Meal Planning: Generate weekly meal plans based on dietary preferences
- Fitness Goal Integration: Adjust calorie and macro targets based on fitness objectives
- Dietary Restrictions: Support for various diets (vegetarian, vegan, keto, paleo, etc.)
- Time-Conscious: Meal suggestions optimized for busy schedules
- Nutritional Tracking: Automatic calorie and macronutrient calculations
- Shopping Lists: Generate grocery lists from meal plans
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── meals.ts # Meal-related API endpoints
│ │ ├── plans.ts # Meal plan generation endpoints
│ │ └── static.ts # Static file serving
│ └── index.ts # Main Hono server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application component
│ │ ├── MealPlanForm.tsx # Meal plan configuration form
│ │ ├── MealPlanView.tsx # Display generated meal plans
│ │ └── NutritionCard.tsx # Nutrition information display
│ ├── index.html # Main HTML template
│ ├── index.tsx # Frontend entry point
│ └── style.css # Custom styles
├── shared/
│ ├── types.ts # Shared TypeScript interfaces
│ └── utils.ts # Shared utility functions
└── README.md
- Set your dietary preferences and restrictions
- Define your fitness goals (weight loss, maintenance, muscle gain)
- Specify your activity level and time constraints
- Generate a personalized weekly meal plan
- View nutritional breakdown and shopping list
- Backend: Hono (TypeScript API framework)
- Frontend: React with TypeScript
- Database: SQLite for user preferences and meal data
- Styling: TailwindCSS
- AI: OpenAI for intelligent meal suggestions