Skip to main content

How to configure base directories

You can customize the default directories (Server and Admin UI) for generated code . This makes generated projects more modular. For example, each project can have its own docker files, README files etc.

There are two parameters for each app, enabling you to override the default directories for the Server and Admin-UI.

The default values of the fields (if left blank) are as follows:

Server base: packages/[SERVICE-NAME]

Admin UI base: packages/[SERVICE-NAME]


When you have two or more services in a project being committed to the same repository, you must use different paths in the base directory configuration for each service.

When you use different repositories for your services, no action is required, even if you have multiple services in your project.

Example - setting two separate apps to work with a monorepo in GitHub:

Lets say we have two apps, Customer Service and Order Service, and we want all services to sync to the ./packages directory in the same repo. To achieve that we use the following settings:

Customer Service

Server base directory: packages/customer-service

Admin UI base directory: packages/customer-service-admin

Order Service

Server base directory: packages/order-service

Admin UI base directory: packages/order-service-admin