Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

DarkSky-proxy

Node.JS proxy for DarkSky's Forecast API

Setup

  1. clone the repository
  2. make it the current working directory: $ cd DarkSky-proxy
  3. install dependencies: $ npm i or $ yarn
  4. get an API key: https://darksky.net/dev/
  5. copy .env file: $ cp .env.example .env
  6. add your DarkSky API key to .env: DARK_SKY_SECRET=abcdefg
  7. start the server: $ node index.js
  8. from another terminal, try it: $ curl http://localhost:5051/forecast/[lat],[lng]
  • example: $ curl http://localhost:5051/forecast/32.7765,79.9311

About

Node.JS proxy for DarkSky

Resources

License

Releases

No releases published

Packages

No packages published