Serve is a tool that helps you serve Single Page Applications on your server.
Create a file called serve.yaml in the working directory of the serve
binary and do ./serve
.
- Can serve SPA apps with 404 files defaulting to index.html for client side router to work properly.
- Has ability to setup dynamic reverse proxies so we can route requests without CORS or any issues.
- Reverse proxy returns the entire HTTP Headers and response as is.
- We can proxy any HTTP method to the specified backend URL.
MIT