/Weather-Jester

Weather search tool that tells you different jokes every hour.

Primary LanguageCSS

This is a one-page application that uses Next.js and TailwindCSS. You can search for any location in the given example formats and retrieve its weather data on screen. On the bottom of the screen there is a button that reveals a joke at random. The joke pool changes every hour.

  • The APIs I used were OpenWeatherMap's One Call 3.0 and Geocoding API to get the latitude and longitude data for a location, which then gives you the weather.
  • https://openweathermap.org/api
  • I also used JokeAPI, a free API-keyless REST API that gives you jokes based on given parameters, to display jokes.
  • https://v2.jokeapi.dev/

To run the app, run npm install or yarn install depending on which one you're using, and then run the app with "yarn dev" or "npm run dev"