Visualise water levels, tides and other interesting data for fishermen on the river lee in Cork, Ireland.
- automatically download latest ESB headrace dam readings from here http://esbhydro.ie/Lee/04-Inniscarra-Flow.pdf
- extrate the data from the pdf and get in into machine readable format
- store it to postgres
- API to return latest 24 hours worth of readings
- build skeleton vue.js app
- pipelines to deploy app / Heroku
- CRON task / schedulled API to refresh data twice an hour
- custom domain hosting
- cloudflare SSL certs
- bundle optimisations - add WebPack
- migrate from Heroku to AWS Beanstalk
- serve static webapp from S3
- treeshake express app to reduce AMI size to run npm install
- upgrade to Vuetify 3
- find a decent API for moon cycles in Ireland
- push notifications when dam is on at inniscarra
DB schema
npm install --save-dev sequelize-cli
sequelize db:migrate
sequelize db:seed:all
Running the app
npm run start
heroku addons:create heroku-postgresql:hobby-dev
npm install -g sequelize-cli
heroku run bash
sequelize db:migrate
sequelize db:seed:all
heroku restart
Digital Ocean Issues request and requrest promise are deprecated move to https://www.npmjs.com/package/node-fetch instead
buidl