NX is used as a monorepo tool. PNPM as package manager
- Admin App
- Auth service
- Edge API
- Supabase
- Packages – where all reusable packages live
- Plugin – custom plugins for NX, etc.
Each project has project.json
file used by NX to identify the project. Targets for project can be defined in project.json
or as scripts
in package.json
- Install PNPM
- Install packages with
pnpm i
- Setup
.env
according to.env.example
- Run desire target
To use NX install it globally with
npm add --global nx@latest
Or use
pnpm nx
To run specific target for one project run
nx run <project-name>:<target>
For example, to start admin-app in development mode
nx run admin-app:dev