Find me at @previsaomatao on Twitter and don't forget the umbrella anymore!
- 🌦 Tweet the current weather by using Twitter and OpenWeather APIs.
- Node.js, Cron, Moment Timezone and Twit.
First of all, make sure that you have installed Node.js and YARN. You need also an API Key of OpenWeather API and the API Credentials of Twitter API, so you can go ahead with the following steps:
-
Clone the project:
git clone https://github.com/gabrielhs1357/weather-forecast-matao.git
-
Install the dependencies:
yarn
-
Create a copy of
.env.sample
file and rename it to.env
. -
Set up your
.env
file.
- API_KEY: your API Key of OpenWeather API.
- ACCESS_TOKEN, ACCESS_TOKEN_SECRET, CONSUMER_KEY, CONSUMER_SECRET: these all are the API Credentials of Twitter API.
-
Start the application in development environment:
yarn dev
This project is under the MIT license.
Made with 💜 by Gabriel Silva.