The Javascript Monorepo
Follow below steps to setup the javascript monorepo example project, in this project we are used node.js, react.js javascript frameworks.
Take git clone using below command
git clone https://github.com/infinitbility/the-javascript-monorepo.git
In utility project, we have only some plain javascipt code i.e there are no need install node modules.
Just go to folder and enter npm link
for make code shareable.
cd utility && npm link
- Install node packages.
npm install
- Install utility
npm link utility
- run node project
npm start
check your http://localhost:5000
- Install node packages.
npm install
- Install utility
npm link utility
- run react project
npm start
I Hope, it's helpful for you.