2019-10-11 15:37:47 +02:00
2019-10-11 15:37:47 +02:00
2019-09-30 10:31:50 +02:00
2019-09-06 12:01:25 +02:00
2019-10-10 19:50:44 +02:00
2019-05-24 16:16:47 +02:00
2019-03-14 05:53:02 +01:00
2019-07-03 16:01:55 +02:00

MarketAlert

The purpose of this project is to build a web application that enables subscribing to notifications when new products are published on various ad based marketplaces. The MVP will be only based on OLX.ba

Setup

Setup with npm commands

  1. Install packages
    npm install

  2. Run setup script
    npm run setup
    this will create and run postgres image and then execute migrations

  3. Run app
    npm start to run app without restart on changes or
    npm run start-mon to run app with automatic restart on code change

Manual setup

  1. Create postgres docker image
    docker build -t marketalerts .

  2. Run postgres image with
    docker run --name pg_marketalerts -d -p 5432:5432 marketalerts

  3. Install packages
    npm install

  4. Run migrations from app folder
    npm run migrate or npx sequelize db:migrate

  5. Run app
    npm start or npm run start-mon to run app with automatic restart on code change

AWS SES

- AWS SES credentials are handled with env vratiables
- Notification emails are sent in batches of 50, by using SES templates
- Make sure that you are using different templates for different envirorments
Description
The purpose of this project is to build a web application that enables subscribing to notifications when new products are published on various ad based marketplaces. The MVP will be only based on OLX.ba
Readme 4.3 MiB
Languages
JavaScript 84.8%
EJS 9.1%
HTML 5%
CSS 1%