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.
To get you started you can simply clone the baristacoffee
repository and install the dependencies:
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 the baristacoffee
repository using git:
git clone https://github.com/mohitagarwal2599/baristacoffee.git
cd baristacoffee
- 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 needapp/lib
- contains the AngularJS framework files and other front end dependencies
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].
Open the console of application there you will get the final JSON data of complete application