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

wizardsoftheweb/express-csp-demo

Repository files navigation

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]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published