Example of share code between Node.js and Angular.
Node side is written in TypeScript and start by ts-node to make code share very simple; for Angular side it just like a common utils script.
Node:
cd node
yarn start
and browse http://localhost:8080 after server started.
Angular:
cd ng
yarn start
and browse http://localhost:4200 after build success.