Good Burger - Burger Log is a burger logger made with Node, Express, Express Handlebars, Body Parser, and JawsDB via Heroku using MySQL. The app is deployed on Heroku. The deployed app demo can be found here.
The app makes use of html templates with the help from Express Handlebars. The Model–View–Controller (MVC) pattern is used for the structure of the file setup and script content. A rudimentary Object-Relational Mapping (ORM) technique is used to tie the database usage and conroller script to manage the routing. Additional router action is handled via another script file (burgers.js).
When the user accesses the page, the following will appear:
The user can add a burger name by entering the name in the textbox and clicking "Add." The new burger name will appear on the left-hand column.
If the user clicks on "Eat," the burger they have chosen to eat will appear on the right-hand column as eaten.
If the user does not enter a burger name to add, a modal will pop up to notify them to enter a burger name to add:
- JavaScript
- Node.js
- Node packages:
- Bootstrap
- Heroku
- Heroku Add-ons: