/pos

A simple point-­of-­sale (POS) application for a coffee shop:coffee: like Starbucks with Vue framework

Primary LanguageHTMLMIT LicenseMIT

POS (point-­of-­sale)

A simple POS application for a coffee shop like Starbucks. There should be a page for the selection of base drinks and their associated modifiers. A page for the confirmation of purchase is also required showing the cost based on drink type and chosen modifiers.

Examples of base drinks can be drip coffee, lattes, smoothies, etc. Each type of base drink has the potential of being composed of several components. For example, drip coffee is only made of coffee, while lattes are composed of espresso and steamed milk. Each drink can have modifiers applied to them. For example, coffee can be modified by sugar or milk, while lattes can have chocolate syrup or whipped cream added.

Challenge

Evaluation your JavaScript knowledge and design in a simple model–view–viewmodel (MVVM) framework that you have not previously used.

Demo

large-view phone-view

APIs and technologies

How to make it work on your machine after cloning on your local

  • For development, go to app folder and
    • you need sass on your system checkout here.
    • npm install will install all dependencies for the project.
    • Install grunt-cli globally by typing npm install -g grunt-cli.
    • run grunt watch for automation purposes.
  • To run the distrubution version of the project
    • type node server.js or npm start in terminal, and in the browser url, type http://localhost:3000/
    • or double click on index file
  • For documentation
    • Very simple documentation is provided using jsdoc in out folder

License

The contents of this repository are covered under the MIT License.