Skip to content

Service catalogue and developer documentation for the Province of British Columbia

License

Notifications You must be signed in to change notification settings

bcgov/csit-developer-portal-poc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

382 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developer Portal

License Build and update gitops repo CodeQL Run Unit Tests

This is the proof of concept of the Connected Services Integration Toolkit integrated into the developer portal for the Province of British Columbia built using Backstage.

Local Development

Required Tools

Setup

Running

To run the project:

  1. Follow the plugin instructions to be able to pull the plugin from GitHub Packages.

  2. Ensure you have the GITHUB_TOKEN environment variable set with a GitHub Personal Access Token that has access to the package.

$ export GITHUB_TOKEN=your_personal_access_token
  1. Run the following at the project's root directory
$ yarn install
$ yarn start

Testing

End to end tests are in the packages/app/e2e-tests directory.

To run locally:

  • start a local instance
  • yarn test:e2e

To run against a dev instance:

  • Set the PLAYWRIGHT_URL to your dev instance when running the test
  • PLAYWRIGHT_URL=https://dev.example.org yarn test:e2e

Dockerfile

Note: The dockerfile is based on the Janus showcase project

Using Docker locally, requires us to set the GITHUB_TOKEN:

$ docker buildx build \
  --secret id=GITHUB_TOKEN,env=GITHUB_TOKEN \
  -f packages/backend/Dockerfile \
  .

Note: You will need to modify app-config.production.yaml to fit your local environment if you plan to run the docker image locally.

Deployment

See the gitops repo.

More information

See the Backstage.io documentation

About

Service catalogue and developer documentation for the Province of British Columbia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • TypeScript 91.9%
  • JavaScript 4.7%
  • Dockerfile 1.7%
  • HTML 1.7%