Dynamic Reverse Proxy with Service Worker Integration Using Express.js (Similar to CroxyProxy.com)

Job ID: 38974757

Budget: $10 – $30 USD

I am looking for a skilled developer to create a dynamic reverse proxy solution using Express.js and http-proxy-middleware. The proxy must function similarly to CroxyProxy.com, offering seamless web proxy functionality with integration of a Service Worker on the frontend for advanced request handling.
Requirements:

Backend (Proxy Server):
Build a reverse proxy using Express.js and http-proxy-middleware.
Support dynamic target selection, routing requests to different backends based on specific rules (e.g., request paths, query parameters, or custom headers).
Forward headers, cookies, and other request/response metadata correctly to emulate CroxyProxy's behavior.
Implement custom middleware to modify or log requests and responses as required.

Frontend (Service Worker):
Implement a Service Worker capable of:
Intercepting all fetch requests from the browser.
Routing requests dynamically to the backend proxy.
Logging and modifying requests or responses to ensure compatibility with the proxy server.
Enable real-time updates for any response modifications.

Features Similar to CroxyProxy:
Transparent request forwarding and handling, supporting modern web applications (e.g., SPAs, APIs).
CORS handling for cross-origin requests.
Secure connection support (HTTPS).

Deployment and Testing:
Provide a complete setup with detailed documentation for deploying the solution on a production server.
Include local testing instructions with examples.

Deliverables:

A fully functional Express.js reverse proxy that mimics the behavior of CroxyProxy.
A Service Worker script that integrates seamlessly with the proxy to handle fetch requests dynamically.
Documentation for deployment and usage.

Skills Required:

Advanced experience with Node.js, Express.js, and http-proxy-middleware.
Strong knowledge of Service Workers and browser APIs.
Familiarity with CORS, HTTPS, and secure server configurations.
Experience creating proxies for modern web applications.

If you have experience with similar projects or can demonstrate expertise in reverse proxies and Service Workers, please apply with examples of your previous work.