Large changes - updating pattern with a few new features
To caveat - I'm not expecting this PR to be merged, but thought that it might help others if they were looking to do something similar.
I've been tinkering with the pattern template and really liked how it provided an initial framework with interacting with the tool. With that said it is a little outdated and worked through adding some additional functionality. The below lists describes the changes throughout the PR.
- update packages for client and server (still could be updated - but there would need to be code rewritten)
- add a transactions table (the transactions table does not include pending currently)
- changed the overall method of using ngrok to using a reverse proxy
- added a cron job that refreshes the transactions daily (for whatever reason the webhook wasn't working on all institutions)
- added a label function that adds in a user defined field to the database
(Belated) Thanks for submitting this, @jkoestner ! I'm not sure if we'll merge this entire PR all at once, but I think at the very least, we can start adding these features one at a time where they make sense.
Thank you! Got this tentatively working locally (without ngrok and docker). It seems to work fine with Node 20. Going to look at adding support for production ENV variables next