Skip to content

A simple application to produce and deploy a web application that allows users to browse the Amazon product catalog related to beauty products.

Notifications You must be signed in to change notification settings

chandnisoni/beauty-product-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beauty Product Browser

Heroku Live Demo

A simple application to produce and deploy a web application that allows users to browse the Amazon product catalog related to beauty products.

User will be able to access web application and see a list of products, including product images and product names and would also be able to interact with a list to go to the product page on www.amazon.com.

Highlights

  • Uses AWS Product Advertising API to display products
  • Front-end: Bootstrap, AngularJS, HTML, CSS
  • Back-end: node.js, express, node-apac (aws client), node-cache
  • Utilizes node-cache module to cache AWS response on server-side.
  • Doesn't store awsId, awsSecret and assocId separately in the code-base. The application loads these using the environment variables. See more heroku specific details here.

node-js-getting-started

A barebones Node.js app using Express 4.

This application supports the Getting Started with Node on Heroku article - check it out.

Running Locally

Make sure you have Node.js and the Heroku Toolbelt installed. Also, please copy .env.example as .env inside the root directory, and provide your awsId, awsSecret and assocId.

$ git clone https://github.com/chandnisoni/beauty-product-browser.git
$ cd beauty-product-browser
$ npm install
$ npm start

Your app should now be running on localhost:5000.

Deploying to Heroku

Configure your awsId, awsSecret and assocId using following command:

heroku config:set awsId=<your-aws-id> awsSecret=<your-aws-secret> assocId=<your-assoc-id>

followed by:

$ heroku create
$ git push heroku master
$ heroku open

or

Deploy to Heroku

Documentation

For more information about using Node.js on Heroku, see these Dev Center articles:

About

A simple application to produce and deploy a web application that allows users to browse the Amazon product catalog related to beauty products.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published