Lab: Deploying a Backstage Developer Portal
In this lab, you will deploy a local instance of Backstage and configure its core features.
Step 1: Bootstrap Backstage
Run the following command to create a new Backstage application:
npx @backstage/create-app@latestFollow the prompts to name your app and select PostgreSQL as the database.
Step 2: Register a Component
- Start your Backstage app:
yarn dev. - Navigate to
http://localhost:3000. - Click “Create” and then “Register Existing Component”.
- Provide the URL to a
catalog-info.yamlfile in a GitHub repository.
Step 3: Create a Template
- Define a
template.yamlthat scaffolds a Node.js application. - Register this template in the Backstage catalog.
- Use the template to generate a new repository.