Monorepo basics using Turborepo
Let's create a Turborepo project using the npx command.
npx create-turbo@latest
The command asks a few questions and generates the code based on them.
Let's see the result in Visual Studio Code

A monorepo is a collection of many apps and packages in a single codebase. In the above screenshot, both web and docs applications depend on the package ui. This is achieved through the concept of workspaces. The two package.json files represent two different workspaces. Those workspaces are managed by the same CLI, which installs the dependencies, like npm or yarn.