Git Product home page Git Product logo

digitalmenuprototype's Introduction

Digital Menu Ordering System Prototype

Acknowledgments

This project is built on top of the Angular Express Seed With HTML (https://github.com/dannyrdalton/angular-express-seed-with-html) which is turn is adapted from Brian Ford's Angular Express Seed (https://github.com/btford/angular-express-seed).

Intro

This app is built using AngularJS on the front, Express + Node on the back. Styled with SASS/SCSS.

Getting Started

Tools you will need

Git (http://git-scm.com/book/en/Getting-Started-Installing-Git) Node (http://nodejs.org/download/) Ruby (http://www.rubyinstaller.org/) SASS (http://sass-lang.com/install)

Steps

  1. Fork the project repository
  2. Clone your Fork to your computer
  3. Inside the project folder run npm install to grab the node dependencies
  4. Do any work you see fit
  5. Commit and Push back up to your Project Fork
  6. Send a pull request back to this Repository.

To run the server

On the top level of the project run 'node app.js'

To convert SASS/SCSS to CSS

On the top level of the project run 'sass --watch styleLayout/app.scss:public/css/app.css'

Receiving updates from upstream

Just fetch the changes and merge them into your project with git.

Directory Layout

app.js              --> app config
package.json        --> for npm
public/             --> all of the files to be used in on the client side
  css/              --> css files
    app.css         --> final stylesheet (Don't Edit)
  img/              --> image files
  js/               --> javascript files
    app.js          --> declare top-level app module
    controllers.js  --> application controllers - Where most of our javascript should go
    directives.js   --> custom angular directives
    filters.js      --> custom angular filters
    services.js     --> custom angular services
    lib/            --> angular and 3rd party JavaScript libraries
      angular/
        angular.js            --> the latest angular js
        angular.min.js        --> the latest minified angular js
        angular-*.js          --> angular add-on modules
        version.txt           --> version number
styleLayout/         --> SCSS stylesheets
  global/            --> stylesheets that apply application-wide
    Layout.scss           --> layout rules like height, width, margin
    Styles.scss           --> style rules like color, background-color, font-size
    Variable.scss         --> variable rules to apply to other files
  app.scss           --> file to include all other files in one place.
routes/
  api.js            --> route for serving JSON
  index.js          --> route for serving HTML pages and partials
views/
  index.html        --> main page for app
  partials/         --> angular view partials (partial html files)
    about.html
    appetizer.html
    home.html
    orderPlaced.html
    reviewOrder.html

digitalmenuprototype's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

smitabetcy betcy

digitalmenuprototype's Issues

Need a Confirmation page

Currently users have no notification that their order has gone through.

This should be HTML added to the partials/ folder

Move data out of Controller file

It's messy to have all our JSON data inside the controller file. Let's pull it out and call it properly with a node service call.

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.