Skip to content

leticiabernardo/WeatherApp

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Weather app

Search the weather forecast for the next days for anywhere in the world.
This project is a test that uses the experimental features of Vite SSR.
Explore the docs »

Table of Contents
  1. About The Project
  2. Getting Started
  3. License
  4. Contact

About The Project

Screen Shot 2022-03-03 at 04 19 41

Check the current and upcoming weather from anywhere in the world.

Features:

  • Show weathers for your current location;
  • Show weathers searched by the search field;
  • Show background of searched city, state or country;
  • Detected your language and can be changed to english or portuguese;
  • The weather forecasts can be viewed in celsius or fahrenheit;
  • Full responsive.

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.

  • npm

    npm install npm@latest -g
  • yarn

npm install --global yarn

Getting the api keys

Access the links below and generate the api keys to insert into the project.

Installation

1 - Clone the repo

git clone https://github.com/leticiabernardo/WeatherApp.git

Enter the project folder

cd WeatherApp

2 - Install packages

yarn install

3 - Setting your api keys

Rename the file .env.sample to .env

OPENWEATHER_KEY="ENTER YOUR API"
OPENCAGE_KEY="ENTER YOUR API"
BING_KEY="ENTER YOUR API"

4 - Run the application in a development environment

yarn dev:server

5 - Run the tests

yarn test | coverage

License

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

Contact

Letícia Bernardo - @letisgobabe

Check out the demo project

(back to top)