Product price poller, email notifications when price is lower than latest value.
Currently supports Finland's Verkkokauppa.com electronics and Sissos gun online store and any product from these websites.
You only need product code inserted in database product_code field. You can track as many as you want.
Product code's can be found from Verkkokauppa link and description, example: 63109
If you need support for more online stores, you are free to contribute on this repo. I review and merge pull requests coming from new branches.
This readme includes todo list for future plans.
Steps to get development environment running
- Choose your database platform. I use postgresql. See Sequelize dialects for support.
- Run
npm install - Configure
.envvia renaming from template.env_tpl - Run
sudo node poller.jsonce so that database and table is created. - Insert your
product_code(one or more) to products table. - Run using PM2 process manager or any other
pm2 start poller.js - Done!
New product as first run time, app will fill base price, product name etc automatically.
Example product codes: 36712 and 63109
DB_DIALECTchoose your database. Examples in template. Fill rest of the db details.STORE_URLurl to web store, url: https://www.verkkokauppa.com/fi/product/ (parse html)STORE_URL_2url to web store api, url: https://www.sissos.fi/backend/api/v1/products/ (json api)EMAIL_HOSTsmtp mail host server.EMAIL_USERorigin from where email is sent from.EMAIL_TO_ADDRESSdestination where email is going to.
- implement usable base structure;
- simple back end api for front end ui;
- simple front end user interface for managing data;
No versioning implemented yet.
- Norkator - Initial work, code owner - norkator
See LICENSE file.