This is a submission for the Caching Proxy in roadmap.sh
Clone the repository and run the following command:
git clone https://github.com/joiller/cache-proxy.git
cd cache-proxyRun the following command to start the server:
go build main.go
go run main.go --origin http://dummyjson.com --port 8080In another terminal to run the following command to test the server:
# Test the server
curl http://localhost:8080/docs
# Clear the cache
go run main.go --clear-cache