apop08 / burger

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eat-Da-Burger!

Description

  • 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.

Instruction

  • 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.

Demo

https://morning-everglades-29575.herokuapp.com

Installation

  • 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!

About


Languages

Language:JavaScript 72.5%Language:HTML 24.5%Language:TSQL 3.0%