console/README.md
The Management Console is Zitadel's management UI.
It is built using Angular and part of the Zitadel monorepo.
To get started follow the contributing quick start.
To build for production:
pnpm nx run @zitadel/console:build
This will:
prebuild script)To run linting and formatting checks:
pnpm nx @zitadel/console:lint
To auto-fix formatting issues:
pnpm nx @zitadel/console:lint-fix
src/app/proto/generated/ - Generated proto files (Angular-specific format)buf.gen.yaml - Local proto generation configurationproject.json - Nx orchestration and caching for builds and testsprebuild.development.js - Development environment settings scriptThe Management Console app has the following build dependencies managed by Nx:
@zitadel/proto:generate - Generates the protobuf stubs@zitadel/client:build - Builds the TypeScript gRPC client library@zitadel/console:generate - Generates Management Console-specific protobuf stubs@zitadel/console:build - Creates a production build from Management ConsoleThis ensures that the Management Console always has access to the latest client library and protobuf definitions.
@zitadel/proto generation: Modern ES modules with @bufbuild/protobuf for v2 APIsbuf.gen.yaml generation: Traditional protobuf JavaScript classes for v1 APIsThe Management Console app calls Zitadel v1 and v2 APIs. As long as the Management Console still calls v1 APIs, it needs to import client stubs from separate sources:
buf.gen.yaml configurationjspb.Messageprotocolbuffers/js, grpc/web, grpc-ecosystem/openapiv2src/app/proto/generated/@zitadel/proto package generation@bufbuild/protobuf@bufbuild/es with ES modules and JSON typeslogin/packages/zitadel-proto/The Management Console's project.json ensures proper execution order:
@zitadel/proto:generate runs first (modern ES modules)This approach allows the Management Console app to use both v1 and v2 APIs while maintaining proper build dependencies.
This project was originally generated with Angular CLI version 8.3.20 and has been updated over time.