A simple nodejs app for proxying API requests to external "IP to Country" APIs.
It allows adding any number of API vendors and limit number of requests per hour per API vendor.
Node 12
Clone the repo and install the dependencies.
git clone https://github.com/velsa/ipcountry-proxy.git
cd ipcountry-proxy npm install
npm start
To run the app in debug mode (will show additional data in each API response):
npm run debug
Open http://localhost:3000 to see the short help
Will test all routes for various scenarios
npm run test
The app can be easily deployned to AWS or Netlify