Code Monkey home page Code Monkey logo

angular-tap-room's Introduction

Taproom

Angular in class project 8.17.17

By Michelle Poterek and Max Scher

Description

This is a program written using Angular CLI with focus on two-way data binding, displaying dynamic data, nesting components, and filtering data with a pipe.

User Story

  • As a patron, I want to see a list/menu of all available kegs. For each keg, I need to see its name, brand, price and alcoholContent (or perhaps something like flavor for a kombucha store).
  • As an employee, I want to fill out a form when I tap a new keg to add it to the list. (Don't worry about authenticating employee user accounts yet.)
  • As an employee, I want the option to edit a keg's properties after entering them just in case I make a mistake.
  • As a patron and/or employee, I want to see how many pints are left in a keg.
  • As an employee, I want to be able to click a button next to a keg whenever I sell a pint of it. This should decrease the number of pints left by 1.
  • As an employee, I want to be able to see kegs with less than 10 pints left so I can be ready to change them.
  • As a patron, I want to have kegs prices to be color-coded for easy readability. Perhaps based on their price (greater or less than $5 per pint, perhaps) or the particular style of beer or kombucha.
  • As a patron, I want to use the alcohol content property to display stronger beers differently than weaker beers.

Application Screenshots

Applicaion Homepage Homepage of application

Application filtering by price Homepage of application

Application has ability to show how many pints are left and alerts user once the amount in the keg reaches an estimated 10 pints left Homepage of application

Installation

In Terminal,

  • git clone https://github.com/PoterekM/angular-tap-room
  • cd angular-tap-room
  • npm install
  • bower install
  • ng serve In Browser,
  • Visit the app at http://localhost:4200.

License Information

This web application is free to use under the MIT License © Michelle Poterek and Max Scher

Additional Developer Information

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

angular-tap-room's People

Contributors

poterekm avatar

Watchers

James Cloos avatar  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.