Access and Testing
This section guides you through accessing DevPortal locally and testing its features, including the deployed sample applications and APIs.
Steps Overview
In this section, you will:
- Test the PetClinic sample app — Open the demo web application manually via URL to ensure it is running.
- Test the ViaCEP sample API — Access the sample API manually via URL to verify it returns correct responses.
- Access DevPortal — Open the DevPortal web interface in your browser.
- Explore the Catalog — Browse components, sample apps, and APIs catalogued in DevPortal.
- Explore the APIs menu — Check the list of APIs deployed in the cluster.
- Explore the Docs menu — View the documentation components available for deployed apps and environment.
- Explore the Groups menu — Inspect user groups and their roles/permissions in DevPortal.
- Explore the Create menu — Browse templates for creating new components and optionally try creating one.
- Explore the Settings menu — Check options for personal preferences and interface configuration.
- Explore the Clusters menu — View the status and details of your local Kubernetes cluster.
Step 1: Test the PetClinic Sample App
- Open your browser and navigate to: http://petclinic.localhost:8000/
- You should see the PetClinic demo web application and be able to interact with it.
Step 2: Test the ViaCEP Sample API
- Open your browser (or use a tool like
curl
or Postman) and access the API via:http://localhost:8000/cep/<cep-code>/json
Replace<cep-code>
with a valid Brazilian postal code, for example: http://localhost:8000/cep/01001000/json - You should see the JSON response for the provided postal code.
Step 3: Access DevPortal
- Open your browser and navigate to http://devportal.localhost:8000/
Enter as a Guest User
- The first time you access DevPortal, you will see a screen with a button labeled Enter as a guest user. Click this button to continue. After clicking, you will access the main DevPortal interface.
Step 4: Explore the Catalog
- Click on
Catalog
in the sidebar. - You should see a list of components, including:
PetClinic
— a demo web application.ViaCEP
— a sample API that retrieves address information for Brazilian postal codes (CEP).
- Click on each component to view details and interact with its documentation.
Step 5: Explore the APIs Menu
- Click APIs in the sidebar.
- You should see at least the following item:
via-cep-apps
— representing the ViaCEP API component.
- Click on it to explore the API details and documentation.
Step 6: Explore the Docs Menu
- Click Docs in the sidebar.
- You should see the following documentation components:
environment-vkdr-local
PetClinic
ViaCEP
- Click on each doc component to explore the associated documentation.
Step 7: Explore the Groups Menu
- Click Groups in the sidebar.
- You should see three main groups:
veecode (blue)
— internal VeeCode users.VeeCode
— organization-wide access group.admin
— administrative users.
- These groups define permissions and roles for accessing DevPortal components and APIs.
Step 8: Explore the Create Menu
- Click Create in the sidebar.
- You should see three templates available for creating new components:
Github Pages Simple Blog Template
Spec Project
NextJS Template
- You can try creating a new component using one of these templates. Refer to the official Backstage documentation for detailed instructions: Backstage Software Templates
Step 9: Explore the Settings Menu
- Click Settings in the sidebar.
- You should see options for personal preferences and interface configuration.
Step 10: Explore the Clusters Menu
- Click Clusters in the sidebar.
- You should see the cluster item:
cluster-vkdr-local
— representing the local VKDR Kubernetes cluster.
- Clicking it shows cluster status, nodes, and details.
This guide ensures you can verify that DevPortal is running correctly and interact with the sample applications, APIs, and other features for testing, learning, and exploration.
With these steps completed, your local DevPortal setup is fully operational. You are now ready to start exploring, testing, or developing components and workflows in your local environment, completing the Local Setup flow.