This turborepo uses yarn as a package manager and turbo to manage the build and dev.
To get started with frontend-stack development, first get things up and running, get below prerequisites setup
- Node (16.x+)
- Yarn Pkg (3.2.1+)
- Turbo (1.2.16+)
- Install
nodeusing nvm, and set it to a version 16.x or above. - Install
yarnglobally usingnpm install -g yarn
Important: All below commands should be run in the root directory itself, as we are using a monorepo.
To install all dependencies, run below command
yarn install- To add or update a common
devdependency, edit the rootpackage.json, and runyarn installin the root directory. - To add a new dependency specific to a package or app, edit the respective
package.jsonadd the package and version and then runyarn installin the root directory.
To start dev server, and go to http://localhost:3000
yarn devTo build cloud app & start, and go to http://localhost:3000
yarn build
yarn start