Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (19 loc) · 713 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 713 Bytes

Everything You Need to Screw Everything Up

This is a skeleton express layout to demonstrate how to set CSP headers, get reports, and do CLI stuff. I threw together a couple of quick violations, dropped in a POST endpoint for reports, and demoed the routes.

There are better production tools. This is useful for quick tests or understanding how it works.

Video

asciicast

Installation

$ git clone https://github.com/wizardsoftheweb/express-csp-demo.git
$ cd express-csp-demo
$ yarn

Usage

$ npm start
or
$ node server
or
$ docker-compose up [-d]