Skip to content
Eat-Da-Burger! restaurant app
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
controllers
db
models
public/assets
views
.gitignore
README.md
package-lock.json
package.json
server.js

README.md

burger: The Eat-Da-Burger! restaurant app

Eat-Da-Burger! is a restaurant app that lets users input the names of burgers they'd like to eat. Whenever a user submits a burger's name, the app displays the burger 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 moves to the right side of the page.

Eat-Da-Burger! screenshot

The application demonstrates MySQL, Node, Express, Handlebars and a homemade ORM (object-relational mapper). It follows the MVC (model-view-controller) design pattern, using Node and MySQL to query and route data, and Handlebars to generate the HTML.

To run your own local copy of the application, you must first set up a local copy of MySQL on port 3306. Use the db/schema.sql and db/seeds.sql files to create and populate a database called burgers_db. Then place an .env file in the root directory of the app with your MySQL username and password, formatted like so:

MYSQL_USER=<username>
MYSQL_PASSWORD=<password>

Run npm install in the application root directory to install all dependencies, and then npm start to start the application.

Libraries used

You can’t perform that action at this time.