Request Binder is a developer tool which provides a simple UI for inspecting webhooks. With one click, users can generate a URL which they can use to subscribe to a webhook producer. Webhooks are streamed in real-time and the request headers and payload can be displayed.
Visit the live app at requestbinder.com
-
navigate to the
backenddirectory and runnpm install -
create a
.envfile, and declare thePORTvariable with the desired port. -
setup postgres with the following steps
- ensure postgres is running in the background
- run
createdb request_binder - while still in the
backenddirectory, connect to the database withpsql -d request_binder - execute the DDL statements with
\i data/postgres_scripts/db_schema.sql - close
psql, and add the following postgres connection string to.envwith your own postres authentication info.POSTGRES_URI=postgresql://username:password@localhost:5432/request_bindernote: the password might be optional depending on your postgres configuration.
- setup MongoDB with the following steps
- ensure that mongod is running in the background
- connect to mongo with
mongosh - execute
use request-binderto create the database - close
mongosh, and the following postgres connection string to.envwith your own mongod authentication info.MONGODB_URI=mongodb://username:password@localhost:27017/request-binder?authSource=admin - while still in the
backenddirectory executenpm run setupdb. This creates an index on the database which will improve performance of some queries.
- start the app server with
npm start