A NodeJS API to get current and forecasted weather.
- Clone the repo by using
git clone
. - Run
npm install
on the cloned directory.
- Run
npm run webpack
on a terminal to let webpack compile the files and watch them. Keep the watcher running to have automatic updates when editing a file - Run
npm start
to start the application.
Returns your current location based on your device's IP.
Returns the current weather on the given city. If city is not provided, uses the device's IP city
Returns the forecasted weather for the next 4 days on the given city.
If city is not provided, uses the device's IP city