7.0.1 • Published 5 years ago

hapi-ado-core-plugins v7.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

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