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
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.
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.
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
Access the links below and generate the api keys to insert into the project.
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
Distributed under the MIT License. See LICENSE
for more information.
Letícia Bernardo - @letisgobabe