This project is a simple framework of a diet planning app. It has been created on Laravel Framework.
This framework allows to build an app with a custom set of:
- diets
- recipes
- ingredients
It automatically creates diet plans for users based on their calorie needs and dietary purpose.
Based on the user's survey: energy and nutrient requirements are calculated. The user decides about the number of meals per day and defines the type of diet (eg. vegan or keto).
A meal plan is prepared automatically based on the results of the user's needs.
The user can generate shopping lists for meal preparation for a selected period of time with one click. He can freely change the quantities of ingredients on the list and remove them. Shopping list allows adding own items like ingredients not included in diet plan or any other items. The items are trashed by default which enables restoring them if deleted by mistake. The syncing feature allows concurrent usage of shopping list on multiple devices. When enabled the device has the actual state of the list.
- Laravel 10.0+
- PHP 8.1+
- Nginx
- Composer
You can download this repository.
Do not forget to set a database.
Set up your .env file.
As for the version 0.2.0
and higher it is required to create a default IngredientCategory with id 1000
.
The app requires content to be run. Its database needs to be populated with ingredients and recipes to create diet plans. These can be added manually using the following links:
/recipes
/ingredients
This source code is licensed according to MIT License.