@govtechsg/microservice-boilerplate

0.0.8 • Public • Published

Microservice Boilerplate

What's In This

  • [x] express
  • [x] cookie parser
  • [ ] body parser
  • [ ] helmet for http header security
  • [ ] cors for cross-origin-resource-sharing
  • [ ] prometheus metrics monitoring
  • [ ] zipkin distributed tracing
  • [ ] swagger tooling
  • [ ] graphql tooling

Usage

Install it to a new project:

npm i @govtechsg/microservice-boilerplate --save;
# or
yarn add @govtechsg/microservice-boilerplate;

Use it in the project:

const server = require('@govtechsg/microservice-boilerplate');
// this returns a provisioned instance of an express server with standardised behaviour

Developing

Releasing the Package

Run npm run release locally, commit the changes made by the script and push to GitHub.

Readme

Keywords

none

Package Sidebar

Install

npm i @govtechsg/microservice-boilerplate

Weekly Downloads

5

Version

0.0.8

License

ISC

Unpacked Size

2.37 kB

Total Files

4

Last publish

Collaborators

  • kenneth_leong_gt
  • govtechsg_a11y
  • younglim
  • gtrgchua
  • isomer.govtech
  • gyunikuchan
  • gds_ace_dlt
  • gdsbot
  • gylsky
  • ryanoolala
  • dyihoon90