An open API service indexing awesome lists of open source software.

https://github.com/cartory/ms-restaurant


https://github.com/cartory/ms-restaurant

express javascript mysql2 node seeders sequelize socket-server

Last synced: 14 days ago
JSON representation

Awesome Lists containing this project

README

          

# ms-restaurant

Free Lunch App, build with `javascript` `react`. You can see the backend-microservices side [here](https://github.com/cartory/ms-restaurant.git)

## Entity Relationship Diagram

Made with `mysql` and `sequelize` for all microservices

![EDR-VPP](https://cdn.discordapp.com/attachments/810375634042748948/983735286141960292/Screen_Shot_2022-06-07_at_10.12.38.png)

## State Machine Diagram

useful for understanding how food-request works

![STM-VPP](https://media.discordapp.net/attachments/810375634042748948/983737358199443536/Screen_Shot_2022-06-07_at_10.20.48.png?width=424&height=624)

## Deployment Diagram

![DPM-VPP](https://media.discordapp.net/attachments/810375634042748948/983747311257649242/Screen_Shot_2022-06-07_at_11.00.29.png?width=958&height=625)

## Getting Started

For running backend you to create a `.env` file for enviroments variables and set your DB
by default is with `mysql`

### Download source code

#### ms-web-app

```bash
git clone https://github.com/cartory/free-lunch-web
```

#### ms-restaurant

```bash
git clone https://github.com/cartory/ms-restaurant.git
```

#### ms-kitchen

```bash
git clone https://github.com/cartory/ms-kitchen.git
```

#### ms-warehouse

```bash
git clone https://github.com/cartory/ms-warehouse.git
```

### Install Dependencies

```bash
npm install
```

### Run Project

```bash
npm run start:dev
```

## Tabs

### Free Food Tab

![freeFoodTab](https://media.discordapp.net/attachments/810375634042748948/983775997876895754/Screen_Shot_2022-06-07_at_12.54.22.png?width=961&height=625)

### Recipe History Tab

![recipeHistoryTab](https://media.discordapp.net/attachments/810375634042748948/983778791857979392/Screen_Shot_2022-06-07_at_13.05.29.png?width=961&height=625)

### See Ingredients Tab

![ingredientsTab](https://media.discordapp.net/attachments/810375634042748948/983779081034301480/Screen_Shot_2022-06-07_at_13.06.42.png?width=961&height=625)

### Ingredients History Tab

![marketHistoryTab](https://cdn.discordapp.com/attachments/810375634042748948/983779143491665991/Screen_Shot_2022-06-07_at_13.06.56.png)

## Author

- **cartory** - _Pedro Caricari_ - [cartory](https://github.com/cartory)