https://github.com/boomerspine/amazon-price-tracker-app
Amazon Price Tracking application sends an email to the user when the price for a particular item drops below a set threshold.
https://github.com/boomerspine/amazon-price-tracker-app
dotenv nightmarejs nodejs sendgrid-api
Last synced: 18 days ago
JSON representation
Amazon Price Tracking application sends an email to the user when the price for a particular item drops below a set threshold.
- Host: GitHub
- URL: https://github.com/boomerspine/amazon-price-tracker-app
- Owner: boomerspine
- Created: 2021-10-03T06:46:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-03T06:48:20.000Z (over 4 years ago)
- Last Synced: 2025-03-22T06:17:16.981Z (about 1 year ago)
- Topics: dotenv, nightmarejs, nodejs, sendgrid-api
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Amazon-price-tracker-app
This is a JavaScript application which scrapes off prices from Amazon's site and sends an email to the host when price of a particular item drops
below a set threshold. Scraping has been implemented using nightmare library, sendgrid has been used to implement mailing services.
dotenv library is used to handle the .env files.
### 🚀️ Setting up
### `npm i nightmare @sendgrid/mail`
To import nightmare and sendgrid libraries.
### `npm i dotenv`
To import dotenv library.
Api key from sendgrid copied stored in a variable inside .env file and set in parser.js.
Set up a mailing service where mail can be received. [temp-mail.org](https://temp-mail.org/en/) is a good option.
Simillarly, select an email from where the alert will be send.
### `node parser.js https://www.amazon.in/itemlink price_threshold`
To run the app.
This project has been completed by following [Web Dev Simplified](https://www.youtube.com/watch?v=H5ObmDUjKV4) video from YouTube.
### 📑️ Further Documentation
[docs.sendgrid](https://docs.sendgrid.com/for-developers/sending-email/api-getting-started) from Twilio has everything mentoned to setting up Sendgrid api.