This is a basic setup using npm workspaces and typescript references for building and running express and react apps
Steps:
- Clone the repo
- Run npm i
- Run npm run start:back and npm run start:front in separate terminals (if npm run start:back is failing the first time, just run it again)
- Or run npm run start:all
- The front is served on localhost:3000
- Play with the array-utils file, change the -1 into a positive number and save. Undo an save. And so on. First you'll see the commons libraries re-building then the server and the frontend.
- You now have a sweet mono-repo setup! Build something awesome with it! :)