hapi-ado-core-plugins
v7.0.1
Published
Hapi.js plugins to augment Azure DevOps (ADAL-protected) microservers.
Downloads
22
Maintainers
Readme
hapi-ado-core-plugins
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
npm install hapi-ado-core-plugins --save
- register plugin(s) with hapi.js server
Example
See ./tests/server.js
.
Contributing
Development
- replace config values in tests/server.js
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