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.
- 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
andassocId
separately in the code-base. The application loads these using the environment variables. See more heroku specific details here.
A barebones Node.js app using Express 4.
This application supports the Getting Started with Node on Heroku article - check it out.
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.
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
For more information about using Node.js on Heroku, see these Dev Center articles: