- A Burger Eatin' Application With MySQL, Node, Express, Handlebars and a homemade ORM
- This application demonstrates a simple full stack application using Node and MySQL to query and route data in the app, and Handlebars to generate HTML.
- The user may enter any burger name to add it to the menu, which will be also added to the mysql database. All burger entries (both existing and new) are added as available on the menu and placed on the left side of the screen. The user may then eat any burger by clicking on it, which moves it to the right side and updates its status accordingly in the database.
https://morning-everglades-29575.herokuapp.com
-
To run the application locally, first clone this repository with the following command.
- git clone https://github.com/apop08/burger.git
- Next, install the application dependencies in the folder that you cloned the link above.
-
- cd burger
-
- npm install
-
- Then, include your mysql info to connection.js.
- Finally, run the node server locally.
-
- node server.js
-
- Now, open the local application on port 8080 at the URL: http://localhost:8080/.
Enjoy the burger!