/WeatherApp

Primary LanguageJavaScript

Weather SMS Notifier ☀️📲

This application is designed to send daily weather updates via SMS for multiple cities. It uses the OpenWeather API for fetching weather data and Twilio for sending SMS.

Table of Contents

  1. Features
  2. Requirements
  3. Installation
  4. Usage

Features 🌟

  • Fetches daily weather data for a list of cities.
  • Sends weather details, including temperature, cloud cover, and wind speed via SMS.
  • Scheduled to run every day at 8 AM.

Requirements 📋

  • Node.js
  • npm
  • A Twilio account for sending SMS
  • An OpenWeather API key for fetching weather data

Installation 💾

Clone the Repository

git clone https://github.com/Iviichae7/WeatherApp.git

Navigate to the Directory

cd WeatherApp

Install Dependencies

npm install

Setup Environment Variables

  • Rename .env.sample to .env.
  • Fill in your Twilio account SID, Auth token, and OpenWeather API key.

Usage 🚀

Run the App

node main.js