Skip to content

breakchallenge/Kong-Dashboard-Nuxt-Frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kong :: Admin Dashboard 🌉

The Pipeline Ship js trigger GitHub release (latest SemVer) Snyk Vulnerabilities for GitHub Repo license GitHub contributors

eslint prettier stylelint nuxt typescript


About

Dashboard for managing Kong API Gateway.

Stacktrace

Development stack:

CI/CT stack:

Deployment stack:

Usage

Docker

$ docker run -p 3000:3000 ghcr.io/vinayakkulkarni/v-kong-dashboard:latest

Environment Setup

Development

$ git clone [email protected]:vinayakkulkarni/v-kong-dashboard.git
$ cd v-kong-dashboard
$ npm install
$ npm run dev

Release Process 🏗

  • Once all features/bugfixes are deployed on dev, create a PR from dev to test
  • Once the PR is merged from dev -> test, run npm run release & ship.js will trigger a build with updated CHANGELOG & proper git tags
  • Follow the guide from the automated PR from Ship.js
  • Once you Squash & Merge the automated PR, wait for the Ship.js trigger workflow to run successfully.
  • Rebase your dev with test to ensure the correct release is also displayed on dev env
  • Once the QA gives a sign off on test env, rebase stage with test to update the UAT environment
  • Once UAT is ready, rebase main with stage to update the Production environment

Branching Strategy 🎋

  • Create your feature branch from dev branch, eg. feat/add-web-worker-JIRA-123
  • Create a new PR from feat/add-web-worker-JIRA-123 to dev
  • Once the PR is merged into dev, create a new PR from dev to test
  • Once the PR is merged into test, rebase dev with test, eg. git fetch --all && git checkout dev && git rebase origin/test && git push
  • Checkout on test & then run a new ship.js release workflow by running npm run release:prepare (Ensure you have a valid GitHub PAT in .env [GITHUB_TOKEN=PAT])
  • Ship.js will automatically update the CHANGELOG & once you review and Sqaush Merge the PR
  • Inform on Teams about the new release so that QA team can test on the newer version
  • Once the QA passes all the tests, rebase the stage branch with test
  • Once the PR is merged, you HAVE to rebase dev & all your other branches/PRs which haven't gone in the previous release.
$ git fetch --all && git checkout dev && git rebase origin/test && git push

Once ship.js automatically prepares the Pull Request, kindly merge it and rest is done automatically by GitHub action and is driven by deploy-{env}.yml file.

Time logging ⌚️

Since we'll be using Jira to log time, we have to follow the Smart Commits to ensure the time is correctly logged against each ticket. For that, you have to follow some steps.

Once you've cloned the repository, there are few steps before you can start using the Smart Commits syntax

$ cd v-kong-dashboard
$ git config --local --add user.email <your-email-address>

Next, create a bug-fix/feature branch from origin/dev (or the default branch).

$ git fetch --all
$ git checkout -b feat/add-web-worker-JIRA-123 origin/dev
# Branch 'feat/add-web-worker-JIRA-123' set up to track remote branch 'dev' from 'origin'.
# Switched to a new branch 'feat/add-web-worker-JIRA-123'

Next, once you've done the changes, perform a Smart Commit

$ git add .
$ git commit -m 'feat: integrate web worker JIRA-123 #time 2h'
$ git push

Done. Now goto Jira board, and check for the Time Tracking section on the Jira ticket JIRA-123

Note: Each commit should have atleast the Jira ticket & time associated with it.

Contributing

  1. Create your feature branch from dev (git checkout -b feat/new-feature)
  2. Commit your changes (git commit -Sam 'feat: add feature')
  3. Push to the branch (git push origin feat/new-feature)
  4. Create a new Pull Request

Note:

  1. Please contribute using GitHub Flow
  2. Commits & PRs will be allowed only if the commit messages & PR titles follow the conventional commit standard, read more about it here
  3. PS. Ensure your commits are signed. Read why

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published