Source code for SapientNitro hiring challenge on HackerEarth. Question: Develop a pseudo front end application which would let users help list and browse products conveniently.
You can access the live demo at nitrocart.abhi.cc. Powered by Azure cloud
- Fetching products and API hits from HackerEarth API
- Sorting products on the fly using price, rating and purchased count
- Search (filter) products on the fly
- Typeahead during search
- Responsive design
- Product links in new tab
- NPM package manager
- Webpack bundler
- Angular 1.x
- Bootstrap 3.x with Bootswatch
- SCSS
These instructions assume that you have npm
package manager installed. If not, please install it from: https://www.npmjs.com/package/npm
-
Clone the repo from git
git clone https://github.com/geekabhinav/sapientnitro-cart
-
Go into the repo directory and install packages using
npm install
command -
Start the webserver with the following command
npm start
-
Visit http://localhost:8080 in a modern browser.