- This Project is the new version of FoodFast that will be used natively in all mobile applications.
- The project was based on the understanding of a certain difficulty in organizing and having control of the food available in the kitchen.
- And many people do not have the knowledge of a wide variety of recipes and are unaware of the necessary ingredients.
- In addition to the fact that excessive spending on the market is reflected in the large storage of food and waste is generated.
- Inventory with all the food the user has in the kitchen, divided into several categories.
- Registration of food manually according to several attributes (optional) - quantity, brand, validity, etc.
- Consultation of recipes.
- Publication of recipes.
- Possible and not possible recipes based on the availability of ingredients from the user's inventory.
- User-defined favorite recipes.
- Recipes filtered by categories (favorites, low calorie, vegetarian, etc).
- People with difficulty organizing food, lack of knowledge in recipes and desire for a healthy eating routine.
- Lorenzo Windmoller Martins (Developer)
- Vinicius Andrade Perrone (Developer)
- To download the project, execute the command:
// Clone the application repository
$ git clone https://github.com/viniciusperrone/FoodFast.git
- To run the backend, follow these steps:
- Navigate to the backend folder and install the dependencies:
// Navigate to the backend folder
$ cd backend
// Install application dependencies
$ yarn
- Install MySQL, MongoDB, Redis and Adminer Docker images using docker-compose:
// Run the Docker images
$ docker-compose up -d
- Create a file called .env based on .env.example and enter your AWS credentials;
- Create a file called .ormconfig.json based on .ormconfig.example.json and insert the MySQL and MongoDB host and port according to the previously installed Docker images, in addition to exchanging the src recipient for dist and .ts for .js;
- Configure the credentials of the MySQL Docker image using the following commands:
// Enter the MySQL image bash
$ docker exec -it IMAGE_NAME bash
// Enter the MySQL image root
$ mysql -u root -p
// Change the password
$ ALTER USER root IDENTIFIED WITH mysql_native_password BY ‘ROOT_USER_PASSWORD’;
- Run the database migrations using the command:
// Run the migrations
$ node_modules/.bin/typeorm migration:run
- Add a no-restart configuration for each Docker image using the command:
// Change the configuration of the Docker images
$ docker update --restart=unless-stopped ID_DA_IMAGEM
- Start the server using the command:
// Start the server
$ yarn dev:server
- The application's backend was developed using the following technologies:
Lorenzo Windmoller Martins - LinkedIn - [email protected]
Vinicius Andrade Perrone - LinkedIn - [email protected]