Eat-The-Burger

Database App

Tech Used:
  • JQuery.
  • JavaScript.
  • Node.js
  • Express
  • Handlebars
  • mySQL

About Project

A menu app that lets users input the names of burgers they'd like to eat and then devour them!

Using a home-grown ORM, the app has 3 basic CRUD functions:

READ all entries from the MySQL database and display them to the DOM using Handlebars.

UPDATE a selected burger by clicking "Devour It", which hits a /burger/eat/:id route in Express to change its "devoured" status in the MySQL database. This re-routes the webpage back to the index, where the burger is now in the devoured column (via Handlebars)

CREATE a new burger using the "Place Order" form, which hits a /burger/create route in Express to insert a new burger into the MySQL database. This re-routes the webpage back to the index, where the burger is now ready to be eaten column (via Handlebars)