Skip to content

This is a Node application using an MVC model along with Handlebars, Express, and ORM to log burgers that users may wish to *devour* to calm their appetites.

License

Notifications You must be signed in to change notification settings

jtbataille/burger

Repository files navigation

Eat-Da-Burger! Application

License: MIT

Table of Contents

Description

This application will build a list of burgers based on user input. When users enter a burger name within the textbox and click the "Submit" button, their created burger title will be added to the lefthand side of the screen with a "Devour" button next to it--just in case they get a bit peckish! When this "Devour" button is clicked, the burger will be moved to the righthand side of the UI showing it has been thoroughly ingested by the ravenous users.

The users need not fear, however! They will be able to add as many burgers any they desire to satiate their hunger.

This application uses MySQL to store data, as well as Handlebars to dynamically create the UI for each next to-be-devoured and devoured burger on the docket.

Installation

This application is deployed on Heroku for any curious users to satiate their hunger.

Alternatively, users may clone this repository and use the following commands to make begin the application, entering them in an integrated terminal within the main directory:

  • npm install express
  • npm install express-handlebars
  • npm install mysql

After installing these packages to make sure the application functions, users should enter:

  • node server.js

This final command will make the app listen on the LocalHost PORT.

If following these commands, users should open their own browsers and go to the following address to see the deployed application:

localhost:8080

Technologies Used

Node JS, MySQL, Express.js, Handlebars, JavaScript, CSS

Application Demo

After following the information in the Installation section above--database start within MySQL, navigating to the localhost, as well as running node server.js---users will be greated with an opening page that looks like this:

startpage

From here, users may add more burgers in the text box at the bottom of the page OR, if they're feeling the need to satiate their hunger, they may wish use to the Devour Me! button to eat a burger of their choosing, which will move the burger to the right-hand side of the screen, showing that it has been consumed:

devourbutton

In addition to being deployed on Heroku, here is a GIF showing the app's full functionality:

burger

Contact Information

About

This is a Node application using an MVC model along with Handlebars, Express, and ORM to log burgers that users may wish to *devour* to calm their appetites.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published