Basic Node.JS devtool app allowing to catch POST requests with JSON body. After that we can make a GET request to get
the latest requests back (reversed). Sending DELETE clears the history.
Assumptions:
- All caught requests are stored in memory.
- No UI.
- No security.
Running the server: npm start
Running the dev mode (powered by nodemon): npm dev
Supported environment variables:
PORTto set HTTP port to listen to (default is3000)MAX_REQUESTS_STOREDto set maximum number of requests to be stored in memory. The default is100.
Demo instance running on Heroku: https://reqcatch.herokuapp.com/