Cross border opportunities for african job seekers and companies
├── apps
│ ├── api
│ └── web
├── LICENSE
├── package.json
├── pnpm-lock.yaml
├── pnpm-workspace.yaml
├── README.md
├── requirements.md
└── turbo.json
Ensure you have Node.js installed (v22.16.0 or newer).
Turbo Repo works seamlessly with pnpm:
npm install -g pnpm
pnpm install -g turbo
From the project root, run:
pnpm install
This will install all dependencies for every package in the monorepo.
To start all apps in development mode:
turbo dev
Or, to start a specific app (e.g., the api
app):
turbo dev --filter=api
Do not install dependencies globally. Each app should manage its own dependencies.
- To install a dependency for a specific app, either:
- Change directory into the app and install:
cd apps/api pnpm install <package-name>
- Or, from the project root, use:
pnpm install <package-name> --filter=api
- Change directory into the app and install:
To share types or utilities between apps, create a package (e.g., packages/types
) and import it where needed. This promotes code reuse and consistency across the monorepo.