-
Uses the MVC design pattern for files
-
uses Node and MySQL to query and route data in the app
-
Uses Handlebars to generate the HTML.
-
Eat-Da-Burger! is a restaurant app that lets users input the names of burgers they'd like to eat.
- User submits a burger's name in the
Make-Da-Burger
section - Selects
Make-Da-Burger
button - The app will display the burger on the left side in the
Burgers that are ready!
section 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 toBurgers that are devoured!
section. -
The app stores every burger in a database, whether devoured or not.
Files and directories structure:
.
??? config
? ??? connection.js
? ??? orm.js
?
??? controllers
? ??? burgers_controller.js
?
??? db
? ??? schema.sql
? ??? seeds.sql
?
??? models
? ??? burger.js
?
??? node_modules
?
??? package.json
?
??? public
? ??? assets
? ??? css
? ? ??? burger_style.css
? ??? img
? ??? burger.png
?
?
??? server.js