Add a tool
apps/crm/src/tools/fetch-contacts.tool.ts — edit the execute() method to add your logic.Generate a server
servers/production/ with a Dockerfile, docker-compose.yml, and an entry point that composes the CRM app.Your monorepo is ready! Add more apps, tools, and libraries as your platform grows.
Project Structure
After completing the steps above, your workspace looks like this:Common Commands
| Command | Description |
|---|---|
nx dev <app> | Start an app with hot-reload |
nx build <project> | Build an app or server |
nx test <project> | Run tests |
nx inspector <app> | Launch MCP Inspector |
nx graph | Visualize dependency graph |
nx affected -t test | Test only affected projects |
nx run-many -t build | Build all projects |
Next Steps
Generators
All 14 generators for scaffolding components
Monorepo Patterns
Architecture patterns for large monorepos