Skip to content

🍽 The FoodFast project is an application to automate food organization and the recipe making process

Notifications You must be signed in to change notification settings

viniciusperrone/FoodFast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

FoodFast 2.0

Table of Contents

About The Project

  • This Project is the new version of FoodFast that will be used natively in all mobile applications.

Justification

  • 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.

Features

  • 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).

Target

  • People with difficulty organizing food, lack of knowledge in recipes and desire for a healthy eating routine.

Team

  • Lorenzo Windmoller Martins (Developer)
  • Vinicius Andrade Perrone (Developer)

How to download?

  • To download the project, execute the command:
// Clone the application repository
$ git clone https://github.com/viniciusperrone/FoodFast.git

How to install?

  1. 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

Built With

Contact

Lorenzo Windmoller Martins - LinkedIn - [email protected]

Vinicius Andrade Perrone - LinkedIn - [email protected]

About

🍽 The FoodFast project is an application to automate food organization and the recipe making process

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published