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
node
using nvm, and set it to a version 16.x or above. - Install
yarn
globally 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
dev
dependency, edit the rootpackage.json
, and runyarn install
in the root directory. - To add a new dependency specific to a package or app, edit the respective
package.json
add the package and version and then runyarn install
in the root directory.
To start dev server, and go to http://localhost:3000
yarn dev
To build cloud app & start, and go to http://localhost:3000
yarn build
yarn start