Skip to content

Latest commit

 

History

History
54 lines (29 loc) · 2 KB

README.md

File metadata and controls

54 lines (29 loc) · 2 KB

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.