replace arrow functions on frontend with old style function See merge request saburly/marketalarm/web!71
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
-
Install packages
npm install -
Run setup script
npm run setup
this will create and run postgres image and then execute migrations -
Run app
npm startto run app without restart on changes or
npm run start-monto run app with automatic restart on code change
Manual setup
-
Create postgres docker image
docker build -t marketalerts . -
Run postgres image with
docker run --name pg_marketalerts -d -p 5432:5432 marketalerts -
Install packages
npm install -
Run migrations from
appfolder
npm run migrateornpx sequelize db:migrate -
Run app
npm startornpm run start-monto 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