Frontman is an open-source API gateway written in Go that allows you to manage your microservices and expose them as a single API endpoint. It acts as a reverse proxy and handles requests from clients, routing them to the appropriate backend service.
The current implementation of the API gateway doesn't support URL rewriting. This feature can be helpful in various scenarios, such as altering the request paths before forwarding them to the backend services, implementing vanity URLs, or maintaining backward compatibility for deprecated endpoints.
Feature Requirements:
Add the ability to define rewrite rules in the backend service
Implement a URL rewriting function that applies the rewrite rules to the request paths.
Call the URL rewriting function in the ServeHTTP method before constructing the target URL.
Ensure that the URL rewriting feature works seamlessly with the existing plugins and authentication.
The current implementation of the API gateway doesn't support URL rewriting. This feature can be helpful in various scenarios, such as altering the request paths before forwarding them to the backend services, implementing vanity URLs, or maintaining backward compatibility for deprecated endpoints.
Feature Requirements: