onebeyond / generator-systemic

A yeoman-based template to generate a systemic microservice
MIT License
24 stars 10 forks source link

feat: adds helmet to secure rest endpoints #67

Closed MatteoDiPaolo closed 4 years ago

MatteoDiPaolo commented 4 years ago

Description

Adds helmet in order secure express REST endpoints by setting various HTTP headers. The newly added headers are checked in the provided test suite.

Types of changes

How to review this PR

  1. Pull the latest changes
  2. Run yo systemic in order to generate a new service and then run npm run test
  3. Run yo systemic --showcase in order to generate a new service and then run npm run infra-up + npm run test

Issues solved by this PR

Closes #56