andyjy / local-api-proxy

local service to receive HTTP requests on a local port and proxy to a remote server, logging the requests and responses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. Update /etc/hosts to override host to 127.0.0.1
  2. REMOTE_API_URL=https://<host> npm run dev

E.g. for fly.io: REMOTE_API_URL=https://77.83.143.220 nr dev

To renew certs:

mkcert localhost.ssl

About

local service to receive HTTP requests on a local port and proxy to a remote server, logging the requests and responses


Languages

Language:TypeScript 84.5%Language:JavaScript 15.5%