Proxy server with rate limiter for weatherstack api requests
- grab you api key by creating weatherstack account
- fork the repo
git cloneforked repo- create an
.envfile in project root directory - paste into your
.envfileAPI_KEY=here_your_weatherstack_api_key(see step 1) - run
npm run serve - you server is now running on
http://localhost:3000
- grab you api key by creating ipinfo account
- grab
locvalue (somewhere inside your app) by making request tohttp://ipinfo.io/loc?token=here_your_ipinfo_token - provide
locvalue as value tocoordsquery parameter to make a valid request to your serverhttp://localhost:3000/api/forecast?coords=you_grabed_it_previously