Skip to content

Repository contains NextJS application for displaying current weather and a forecast for 5 days.

Notifications You must be signed in to change notification settings

mwrz/weather-forecast

Repository files navigation

Weather forecast

Vercel Next JS React TypeScript MUI TailwindCSS PlayWright Jest

Repository contains NextJS application for displaying current weather and a forecast for 5 days.

The user can specify the location in two ways:

  • by typing the name of the city in the input, which is saved to localStorage and then available in the dropdown options,
  • by clicking the GET LOCATED button (only if geolocation is enabled).

Run the application locally

The application uses the Open Weather API to get weather data, so first you need to add the Open Weather API key to the .env.local file.
Then you can start the application with npm run dev or a corresponding command if you are using a tool other than npm.
Open http:https://localhost:3000 with your browser to see the result.

To run unit tests, use npm run test.
For end-to-end testing, you need to run the application first, and then use npm run e2e-test or npm run e2e-test-ui to view it in UI mode.

Deploy

https://weather-forecast-drop.vercel.app/

App deployed with Vercel.

Vercel Deploy

Libraries and APIs used:


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

About

Repository contains NextJS application for displaying current weather and a forecast for 5 days.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages