Hands-On LabsDeploying a Backstage Developer Portal

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@latest

Follow the prompts to name your app and select PostgreSQL as the database.

Step 2: Register a Component

  1. Start your Backstage app: yarn dev.
  2. Navigate to http://localhost:3000.
  3. Click “Create” and then “Register Existing Component”.
  4. Provide the URL to a catalog-info.yaml file in a GitHub repository.

Step 3: Create a Template

  1. Define a template.yaml that scaffolds a Node.js application.
  2. Register this template in the Backstage catalog.
  3. Use the template to generate a new repository.