Giter Site home page Giter Site logo

burger-orders's Introduction

burger

Eat-Da-Burger is a restaurant app that lets users input the names of burgers they'd like to eat.

Alt text

Function

When a user submits an order (a burger's name), the app will display the burger on the left side of the page -- waiting to be devoured.

Each burger in the 'Orders' area has a Done button. When the user clicks it, the burger will move to the right side of the page -- into the 'Devoured' section.

All burgers are stored in the database, whether devoured or not.

Design

This burger logger is created with MySQL, Node, Express, Handlebars and a homemade ORM. It utilizes the MVC design pattern, uses Node and MySQL to query and route data, and Handlebars to generate HTML.

MVC design pattern:

.
├── config
│   ├── connection.js
│   └── orm.js
│
├── controllers
│   └── burgers_controller.js
│
├── db
│   ├── schema.sql
│   └── seeds.sql
│
├── models
│   └── burger.js
│
├── node_modules
│
├── package.json
│
├── public
│   ├── assets
│   │   ├── css
│   │   │   └── burger_style.css
│   │   ├── img
│   │   │    └── burger.png
│   │   └── js
│   │       └── burgers.js
│   └── test.html
│
├── server.js
│
└── views
    ├── index.handlebars
    └── layouts
        └── main.handlebars

The final app is deployed to Heroku and accessible from the link above.

Languages, Libraries, and Materials Sources

burger-orders's People

Contributors

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