Giter Site home page Giter Site logo

fat-arrow-taproom's Introduction

Component Action Parent
AppComponent holds data Steph and Noah
KegListComponent Display Kegs, Filter Kegs AppComponent
KegComponent Display a single keg: name, brand, price, alcohol, pints; and subtract pints KegListComponent
EditKegComponent allows user to modify Keg properties KegListComponent
NewKegComponent Present form where user can add a new keg KegListComponent

Tap Room App Build a small Angular app for a bar to keep track of their kegs. Use the To-Do List homework as a guide. Look for relationships between the various parts of this program and the parts of the To-Do List.

Here are some user stories to get you started. As a bartender ...

  • I want to fill out a form when I tap a new keg to create a display for it.
  • I want to see what kegs I have available. For each keg, I need to see its name, brand, price and alcohol content.
  • I want to be able to edit a keg's properties after entering them.
  • I want to see a display of how many pints are left in a keg. A full keg has 124 pints in it.. I want to be able to click a button on a display of a keg whenever I sell a pint of that kind of beer and have the display of how many pints are left decrease by 1.
  • I want to be able to see all the kegs that have less than 10 pints left so that I can be ready to change them.
  • I want to have kegs color coded to show me at a glance if they are cheap or expensive - say greater or less than $5 per pint. I also want to use the alcohol content property to display stronger beers differently than weaker beers.

Setup steps when beginning a new project, or cloning an existing one:

  1. Run npm install and bower install to install dependencies.

  2. Install any global packages such as gulp, bower, sass, typescript, and our text editor's typescript packages.

  3. Build the project with gulp build.

  4. Run it with: gulp serve.

  5. user npm to install bower globally. user bower to manage front-end dependencies for the app

  6. run bower's init command to create the manifest file

$ npm install bower -g
$ bower init

any time we need a front-end dependency we can add it using

$ bower install packagename --save

SETUP NOTES //////////////////////

/*

  • clone repo
  • npm install
  • bower install
  • install globals if needed (gulp, bower, sass, typescript, typescript packages.)
    • npm install gulp -g
    • npm install bower -g
    • gem install sass
    • npm install typescript -g
    • apm install atom-typescript
  • gulp build
  • gulp serve */

fat-arrow-taproom's People

Contributors

stephr3 avatar

Watchers

 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.