Skip to main content
Version: Next

004 - Understand the project

Audience: Developers and administrators

The generated project is a Yarn monorepo containing a frontend application, a backend application, configuration, and example catalog data. In this final step, you will identify where each responsibility lives.

Map the project​

PathResponsibility
app-config.yamlLocal application, backend, integration, authentication, and plugin settings.
app-config.production.yamlConfiguration overrides intended for production deployments.
backstage.jsonThe Backstage release version used by the project.
examples/Local catalog entities and the example software template.
packages/app/The frontend application and its package dependencies.
packages/app/src/App.tsxCreates the frontend app and installs local frontend features.
packages/app/src/modules/nav/Defines the generated app's sidebar navigation.
packages/backend/The backend application and its package dependencies.
packages/backend/src/index.tsAdds backend plugins and starts the backend.
packages/backend/DockerfileBuilds the backend and bundled frontend into a production container image.
package.jsonDefines the Yarn workspaces and project-level commands.

Understand configuration and example data​

Open app-config.yaml. A fresh app uses this configuration file to set its title, organization name, local URLs, in-memory database, guest authentication, and catalog locations.

The catalog locations point to the files in examples/. That is why the portal contains the entities and software template you explored in the previous step. When you later connect organizational data, you will replace or supplement these example locations.

The generated app-config.production.yaml contains production-oriented overrides. Do not treat it as a complete deployment configuration. The Deployment Golden Path explains the database, authentication, secrets, monitoring, and infrastructure decisions needed for production.

Understand the frontend​

Open packages/app/src/App.tsx. The generated app calls createApp from @backstage/frontend-defaults and installs the Catalog plugin and the local navigation module explicitly.

The app.packages: all setting in app-config.yaml also enables package discovery. Frontend plugins added as dependencies of packages/app can expose features that the app discovers automatically. The Frontend System documentation explains how to configure or override those features when you begin customizing the app.

Understand the backend​

Open packages/backend/src/index.ts. The file creates a Backstage backend, adds the backend plugins included in the template, and calls backend.start().

Each backend.add(import(...)) statement installs a backend plugin or module. The generated backend includes support for:

During local development, the frontend calls this backend at http://localhost:7007. In the default production build, the backend also serves the compiled frontend.

Complete the Create App Golden Path​

You now have a running default base app and know where to find its configuration, frontend, backend, and example data. Continue with the path that matches your next goal: