A monorepo (mono repository) is a version management configuration that stores many projects in one repository. The projects can be unrelated and can be completely distinct.
Monorepo is helpful in such projects where we are having multiple projects sharing common functional or business logics. Follow this blog for help.
run following commands in root step by step to run this project.
- create node modules of projects
yarn web-nodeModules
yarn mobile-nodeModules
yarn shared-nodeModules
yarn shared-build
Now to run web app use
yarn web-start
and to run on mobile use
yarn mobile-pods
yarn mobile-start
yarn mobile-ios
yarn mobile-android