Skip to content

mohitagGit/baristacoffee

Repository files navigation

baristacoffee — Prices, customers, payments and orders

The baristacoffee is single page AngularJS application using Bootstrap and a bit of jQuery. The baristacoffee app have 4 states(coffees,payments,orders and customers) having controllers and views together. Initial provided data of prices, order and payments stored in local JSON.

Getting Started

To get you started you can simply clone the baristacoffee repository and install the dependencies:

Prerequisites

You need git to clone the baristacoffee repository.

We also use a number of Node.js tools to initialize and test baristacoffee. You must have Node.js and its package manager (npm) installed.

Clone baristacoffee

Clone the baristacoffee repository using git:

git clone https://github.com/mohitagarwal2599/baristacoffee.git
cd baristacoffee

Install Dependencies

  • We get the tools we depend upon and the AngularJS code via npm.

Preconfigured npm to automatically copy the downloaded AngularJS files to app/lib so we can simply do:

npm install
  • node_modules - contains the npm packages for the tools we need
  • app/lib - contains the AngularJS framework files and other front end dependencies

Run the Application

To run the application enter the below command on terminal or CLI:

npm start

Now browse to the app at [localhost:8000/index.html][local-app-url].

Screenshots of flow of application

1.Price list of coffees

alt text

2.User list with total payment, total amount and balance

alt text

3.Order list with user name, coffee name, size and price

alt text

4.Orders of single user having coffee name, size and price

alt text

5.Payment list of all user having user name and payment amount

alt text

6.Payments of single user having user name and payment amount

alt text

To check JSON string containing the results of this work.

Open the console of application there you will get the final JSON data of complete application

About

Coffee shop mock app with AngularJs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published