Skip to content

An app for collecting and inspecting HTTP/webhook requests. Built with Rails, Action Cable, Active Job, Redis, and PostgreSQL.

License

Notifications You must be signed in to change notification settings

nlicalzi/request-bean

Repository files navigation

Request Bean

Open source application that enables you to collect, parse, and view HTTP requests. Create your unique endpoints to inspect headers, body, query strings and cookies. It is built with Ruby on Rails in SSR mode, Sidekiq, Action Cable, Redis TailwindCSS & Webpack.

Installation

git clone https://github.com/nlicalzi/request-bean
cd request-bean

bundle install
npm i

rails s

Features

Authentication

signin

Full authentication system allowing users to sign up, sign in, log out and delete their account. This functionality utilizes Rails' cookie jar. Once a user has been authenticated, a session cookie is set in their browser.

Bins

Bins are records in the database belonging to users. A unique endpoint is autogenerated when creating a bin. This endpoint is where requests can be sent to for parsing and viewing. This endpoint accepts any HTTP method.

dashboard

The dashboard page allows users to view their created bins.

create bin

Users can create new bins to separate requests as needed.

Requests

payload

Requests can be sent to bins enabling users to inspect headers, body, query strings and cookies.

Websockets

websockets

Requests are streamed to the frontend via websockets. This is made using Rails' package Action Cable This allows users to send requests and view them without having to refresh the page.

Webhooks

create bin

When creating a bin, users can optionally add a webhook url. When Request Bean recieves a request for this bin, a Sidekiq job will be set. When the job is executed, the payload of the request will be pulled from the database & forwarded to the provided URL.

About

An app for collecting and inspecting HTTP/webhook requests. Built with Rails, Action Cable, Active Job, Redis, and PostgreSQL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •