Coder Social home page Coder Social logo

burgers's Introduction

burgertime

Project Overview

This project was an assignment in the Northwestern Full Stack Coding Program. This project uses a node connection using ORM to manipulate Database data to create New Hamburgers to the database and display them to the webpage.

Issues or other things to add

Some of the issues I had with this project was keeping my sql request syntax correct in my ORM as well as models that I had made for the project. I had some trouble getting my online DB via jaws db to work t first.

Getting Started

You can fork this repository then download it into your computer. Once that is done you will need to create a .env file which contains your mysql credentials:

const password ={
    id: process.env.Password
}

Once that file is created and your mysql password has been plugged into your .env file. Then open your command window and go into the folder. Then on the command line enter: npm install This will install the npm packages required to run this application. Once those packages are added, it may take some time, then you can use the application.

On the command line type node server.js then connection to the DB will be established the webpage will be able to be loaded on localhost/3000

Once on the page you will see the burgers currently "On the menu" as well as any of the previours burgers that were eaten. Under every Burgername there will be a button labeled "Burger Time" This will run an alert displaying the message Delish, as well as hitting the db and chaging the value of the burger to devoured which will have it populate on the other table of eaten burgers.

Bellow that list of eaten burgers you can enter any burger you want and it add it to the db and push it to the page. Allowing you to eat it immidiately.

Prerequisites

You will need to fork this repository and pull it to your local drive. Once this is done you will need to create a .env file with your mysql password. As well as taking the burgertime sql data and setting up the DB. You will also need to install the npm packages stated in the package.json file.

Built With

Author

Hugo Villalobos - erithr/github. email: [email protected]

burgers's People

Contributors

erithr avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.