Skip to content

bcgov/sbc-producthub

Repository files navigation

SBC-ProductHub

This Repo consists of 2 projects:

  1. Metrics report (Within application-status folder)

  2. Release Notes (Within release-notes folder)

Apps

Application Status

An MVP Product Metrics Report

The app focuses on getting the metrics for all products developed by Ministry of Citizen Services, Business Registry Branch.

The app displays statistics of what teams have been working on during the last sprint, so that teams can reflect on their performance and keep track of the development progress.

Release Notes

An MVP Product Release Notes

The app focuses on displaying releases for all products developed by Ministry of Citizen Services, Business Registry Branch.

Audience can get latest updates about the BC Registries products, what has been fixed, new features, improvements, etc.

Tech Stack

Nuxt.js/ Vue.js/ TypeScript

Please refer to this documentation to see how the codespace layout is set up. Look at the documentation to learn more.

Zenhub GraphQL API and Apollo Client

What is Zenhub API?

Getting Started

Postman Collection

Sample Schema

What is Apollo Client?

Apollo Client on Vue.js

Apollo Client Usage

Install Node.js and npm

Navigate to this link and download the node version that matches your platform Node Download

The version that these projects are currently using is Node 20.6.1

After downloading Node.js and following their instructions, check whether it is successfully installed or not, and their version by:

node -v
npm -v

Install pnpm

Make sure pnpm has been installed in your computer before running the projects.

npm install -g pnpm

Set up the project

  1. Navigate to correct folder

    cd apps/application-status or cd apps/release-notes

  2. Install the package

    pnpm install
    
  3. Retrieve the Zenhub Token

    a. Go to your account management at the bottom left of the page

    b. Click on API

    Alt text

    c. In GraphQL API, name your key, then click Generate New Key Alt text

    d. Copy the generated key to .env file Alt text

    e. In .env file, save the key as:

        ZENHUB_APIKEY=[API Key copied above]
    

    f. Launch the web on local host: http://localhost:3000/

    pnpm run dev