/burger-app

Fullstack app demo stitched together with SQL, Express, Handlebars & Node.

Primary LanguageJavaScript

Burger App

Eat-Da-Burger! is a restaurant app that lets users input the names of burgers they'd like to eat. A user submits a burger's name, and it is displayed on the left side of the page -- waiting to be devoured. Each burger in the waiting area also has a Devour it! button. When the user clicks it, the burger will move to the right side of the page.

A simple demo of a fullstack application, Eat-Da-Burger! is hosted in Heroku & utilizes a Node backend, using a RESTful API routed with Express that makes requests to a MySQL database & ultimately serves the user a view using Handlebars templates.

Installation & Getting Started (remotely)

Installation & Getting Started (locally)

  1. Clone from the Repo:
git clone https://github.com/Spazcool/burger-app.git
  1. Install dependencies:
npm install
  1. Create .env file at root directory, change values as needed (for use with MySQL database):
DB_PASSWORD='password'
DB_HOST='localhost'
DB_USER='root'
DB_NAME='burgers_db'
DB_PORT='3306'
  1. Create MySQL Database:
  1. Run application:
node server.js

Prerequisites

  • Node.js

Built With

  • Node
  • Express
  • MySQL
  • Bootstrap
  • Handlebars
  • Heroku

Authors

Acknowledgements

License

This project is licensed under the MIT License - see the LICENSE.md file for details.