Skip to content

climba/Eat_Burgers

Repository files navigation

Node Express Handlebars application

This application connects to a database, you can add burgers, and move them from one table to another

Use Instructions

  1. To run this app, you'll need to install the following Node packages.

  2. You will need to set up the database. Use the files named "/db/schema.sql" and "/db/seeds.sql" located in this repo.

    • If you want the database without any demo data use the file named "/db/schema.sql" located in this repo.
    • If you want to edit the default demo data or add your own demo data, use or edit the file named "seeds.sql" located in this repo.
  3. Once you have your database set up, you can edit the database configs at the top of the file listed below for your specific environment.

    Edit lines 10 to 14 in "/config/connection.js"

Configure your Database

  host: "localhost",

  // Your port; if not 3306
  port: 3306,

  // Your username
  user: "root",

  // Your password
  password: "",
  database: "burgers_db"
  1. Once your files are set up you can start using the app.

  2. Explore the functionaliy of the front end by running the command " node server.js " and visiting "http://localhost:8080"

  3. The app is also configured to run in heroku, just create an AWS database using the heroku app JAWS_DB and upload the tables.

Front end

BurgerMe-1.gif

Thanks for checking out my project! If you have any questions get in touch!

Releases

No releases published

Packages

No packages published