hapi-ado-core-plugins

Hapi.js plugins to augment Azure DevOps (ADAL-protected) microservers.

Usage no npm install needed!

<script type="module">
  import hapiAdoCorePlugins from 'https://cdn.skypack.dev/hapi-ado-core-plugins';
</script>

README

Build Status Greenkeeper badge David David Language grade: JavaScript Total alerts Known Vulnerabilities Maintainability Inline docs

hapi-ado-core-plugins GitHub package.json version semantic-release

https://nodei.co/npm/hapi-ado-core-plugins.png?downloads=true&downloadRank=true&stars=true

Why? start with why

So that you can quickly stand-up a hapi.js server with a security scheme that leverages the Azure Active Directory Authentication Library, a public health-check route, self-documenting API (hapi-swagger), and server event methods for utilizing pm2 zero downtime deployments.

Common plugins used for Proof of Concepts.

Installation

  1. npm install hapi-ado-core-plugins --save
  2. register plugin(s) with hapi.js server

Example

See ./tests/server.js.

Contributing contributions welcome

Development

  1. replace config values in tests/server.js
  2. npm run dev

Commits

Refer to ./.sgcrc.

Once changes are staged, instead of git commit -m "commit message", enter npm run commit and answer the questions.

or...

Install a cli tool globally that adheres to @commitlint/config-conventional, such as: node-semantic-git-commit-cli.

Note: View default commit types here.

Resources

hapi.js hapi-auth-cookie bassmaster hapi-swagger travis-ci semantic-release husky pm2 nginx microsoft/azure-devops-node-api ubuntu/server