Skip to content

ssc1999/myFood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to myFood 🍎

Description

This is a Web Side Application that allows you to check your IBM, find the properties of any food and create/check your own recipies!. To squeeze all the posibilities this app gives you, first you need to create an account and login. Once you are loged in you can do whatever you want, and once you want to leave just click on the logout button to close the session.

Prerequisites

Installing Node.js and npm on Linux/Ubuntu

  1. Install nodejs:
$ sudo apt install nodejs
  1. Verify node installation checking version:
$ node -v
v19.3.0
  1. Install npm
$ sudo apt install npm
  1. Verify npm installation checking version:
$ npm -v
9.2.0

Installing Nodemon on Linux/Ubuntu

  1. Install nodemon:
$ npm install -g nodemon

Installation

  1. Clone the repo
git clone https://github.com/myFood.git

⬆️

Usage

We will divide this section in three different command terminals. In the first one we will be running the fastapi server and in the second one the node server, and in the third one, the api gateway server. All the commands must be executed inside the project folder.

Terminal 1

  1. Go to the fastapi server directory.
$ cd myFood/backend/fastapi_server
  1. Run the server.
$ $ npm nodemon

Terminal 2

  1. Go to the node server directory.
$ cd myFood/backend/node_server
  1. Run the server.
$ $ npm nodemon

Terminal 3

  1. Go to the api gateway server directory.
$ cd myFood/backend/api_gateway
  1. Run the server.
$ $ npm nodemon

⬆️

Browser

After running the api gateway we are able to go to the browser and go to the web applictaion using the following url.

localhost:3000/login.html

login-picture

Built With

This section includes languages, frameworks and libraries used in this project.

Author

👤 Sergio Salgado ssc1099.csmm@gmail.com

Show your support

Give a ⭐️ if this project helped you!

⬆️

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published