Skip to content

Simple weather app that is showcasing the current temperature, humidity, clouds and 7 days forecast.

Notifications You must be signed in to change notification settings

ckrook/WeatherApp

Repository files navigation

Weather App

Checkout the project live here

Summary

This is a simple weather app where you can get realtime weather data by choice of city.
Add as many cities as you want to the sidebar and view detailed information by clicking on the card components.

Preview

Objectives

I built this weather app to demonstrate my knowledge in React/NextJS and to showcase my knowledge in fetching data from an API.

Tools

For this project, I worked with the following tools:

  • React
  • NextJs
  • Tailwind
  • OpenWeather API

Styling

I got the design inspiration from my friend Samuel Kraft who has built this awesome running app.
When it comes to making the site responsive for mobile I found it a little bit difficult since I'm only working with a Sidebar and Center component.

I could solve this by letting the end user toggling back and forth between the Sidebar - Center component on mobile devices.
But instead I chose to not put to much effort into the design, rather showcase that I understand how to fetch key data.

Conclusion

For my next project I would like to try axios and fetch data within the getInitialProps since this is best practice.

Installation

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

This is a Next.js project bootstrapped with create-next-app.

About

Simple weather app that is showcasing the current temperature, humidity, clouds and 7 days forecast.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published