Skip to content

Khalifa1997/next-weather-app

Repository files navigation

Next.js Weather App

A website that gets the current weather aswell as the weather forecast, wind, sunrise and sunset times aswell as the UV index and humidity of a selected city, using APIs that are consumed.

Demo Link

Access my project here

Table of contents

Motivation

As the SSR gaining as much traction as they ever have, I wanted to build this project to take advantage of this, and learn Next.js aswell as Chakra-UI, which is a very customizable CSS component library. Also this was a very good chance to learn Next-Auth since I have heard very good reviews about it, this plus Chart.js were very fruitful additions to the project.

Tech Stack

Frameworks

Next.js, React, Chakra-UI, Next-Auth and Chart.js

APIs

Openweathermap , OpenUV, Google Places API and OpenCage API

Screenshots

Homepage Login UnAuth

Installation and Setup Instructions

Clone down this repository. You will need node and npm installed globally on your machine.

Installation:

npm install

To Start Server:

npm run dev

Signup with Email, Github or Google, to be redirected to the homepage

You can signin with there credentials:

email: [email protected]
password: test

Tadaaa, It should be up and running now!🎉🎉

Future Improvements

  1. I would like to experiment with React-Query or Zustand in the future, but due to the size of the project, incorporating either would be too overkill for the project
  2. The design part isn't the focus of this project but nonetheless, having a clearer design in the future would really help me and save me more time, instead of me just using my imagination✨
  3. Experiment with Next.js's cool stuff!