Skip to content
This repository has been archived by the owner on Apr 25, 2018. It is now read-only.

Developing on Local

Nishant Arora edited this page Dec 4, 2017 · 2 revisions

The prod APIs hosted at https://igapi.ga and https://igpi.ga are subject to rate limits (Number of requests/IP/Hour). These limits prevent the API from going down for other users. If you're developing on a local instance and refresh the page a couple of times then these limits will be reached and you'll start getting a HTTP 429 error. To work around this problem use this api as follows.

$ git clone git@github.com:whizzzkid/instagram-proxy-api.git
$ cd instagram-proxy-api
$ npm install
$ npm run dev

The API will be live on http://localhost:3000 and since you're running the dev instance it will also give you all errors it encounters while you're working. You can stop the server anytime with Ctrl-C. After you're done developing you can change the address to https://igapi.ga and everything should work.

To run prod instances:

$ npm run prod
Clone this wiki locally