Geek store documentation
Basic Application to simulate a shopping cart for the store Geek Store. The application fulfills the following requirements:
- Products are loaded from the DB. There are currently 6.
- Products can be added to a cart list, it's possible to select the desired quantity.
- Selected items value is converted to COP$, the conversion rate of the day is used.
- An invoice is generated with 19% of taxes calculated, the client is able to print a version of the bill.
- Users are able to see an historical report of all his purchases.
0.0.1
Instructions to set up the project and run it.
The MongoDB service was used to store the information related to this project. In order to successfully run it, you must install and run the mongo service. Check MongoDB for further info.
- Note: The basic information to run the application is set once the servers of the APP and DB are established.
Download the project and run
npm install
npm start
- The currency conversion is being done thanks to a free services provided by apilayer. Although, that only allows 1000 requests and the source currency used is USD.
- The conversion depends on the currency code used, it must be the standard one. Currently items in DB are in COP, USD and MXN. if a new one is added, the code should be the standard
- DB implemented is MongoDB.
- External UI libraries are angularJS and scroll-js.
- Models were implementes with joiJS and mongo-models.