So, you have a Development, and you use Javascript (React, Angular, etc) for FrontEnd, NodeJS as BackEnd and Postgres with functions en PLV8, basically, you have to learn one language mainly .. JAVASCRIPT
Easy and powerfull...
PD: Complex calculation must be stores on a function on Postgres but not in Javascript.