Skip to content

Slisandro/weather-app

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Weather App

SPA for weather with geolocation


Explore the docs »


View Demo · Report Bug · Request Feature

About The Project

Product Name Screen Shot

The goal of this project was to improve my programming skills by creating a simple single-page application (SPA).

The application uses an external API to consume resources and display them on the screen.

Thanks to Axios, I can easily consume the API through HTTP requests.

On the frontend, I created custom hooks to improve the performance of the app.

With the help of the Zustand library as a global state manager, I was able to store the user's favorite cities.

Built With

  • Next

  • Zustand

  • TailwindCSS

Getting Started

This is an example of how you may give instructions on setting up your project locally.

To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • pnpm
npm install pnpm@latest -g

Installation

Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.

  1. Get a free API Key at https://www.weatherapi.com/

  2. Clone the repo

git clone https://github.com/Slisandro/weather-app.git
  1. Install NPM packages
pnpm install 
  1. Enter your API in config.js
const  API_KEY = 'ENTER YOUR API';

Usage

Now, you can run Weather App in your local, with command:

pnpm run dev 

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

Don't forget to give the project a star! Thanks again!

  1. Fork the Project

  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)

  3. Commit your Changes (git commit -m 'Add some AmazingFeature')

  4. Push to the Branch (git push origin feature/AmazingFeature)

  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

LinkedIn - salvareschilisandro0@gmail.com

Project Link: https://github.com/slisandro/weather-app

About

SPA Weather

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published