/event-store

A Go application to receive events as POST requests and store them in MongoDB

Primary LanguageGoOtherNOASSERTION

Event store

A Go application to receive events as POST requests with a JSON body and store them in MongoDB.

The first use of this application is to receive Content Security Policy reports, but we'd like to expand it to receive performance metrics from the frontend and any JavaScript errors on GOV.UK.

Technical documentation

Dependencies

  • MongoDB

Running the application

make run

Running tests

make test

Licence

MIT License