This app will create a burger logger with MySQL, Node, Express, Handlebars and a homemade ORM. This will follow the MVC design pattern of Node and MySQL to query and route data in the app, and Handlebars to generate in HTML.
-
Eat-Da-Burger! is a restaurant app that lets users input the names of burgers they'd like to eat.
-
Whenever a user submits a burger's name, your app will display the burger on the left side of the page -- waiting to be devoured.
-
Each burger in the waiting area also has a
Devour it!
button. When the user clicks it, the burger will move to the right side of the page. -
Your app will store every burger in a database, whether devoured or not.
The application is composed on the following structure:
.
├── config
│ └── config.json
│
│
├── controllers
│ └── burgers_controller.js
│
├── db
│ ├── schema.sql
│ └── seeds.sql
│
├── models
│ ├── burger.js
│ └── index.js
│
├── node_modules
│
├── package.json
│
├── public
│ └── assets
│ ├── css
│ │ └── burger_style.css
│ └── img
│ └── burger.png
│
│
├── server.js
│
└── views
├── index.handlebars
└── layouts
└── main.handlebars
- Javascript
- Node
- NPM Modules
- MySQL
- Handlebars
- SequelPro
- Sequelize