-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e4b893
commit e1f73ac
Showing
3 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
# react-weather [![build](https://github.com/denniskigen/react-weather/actions/workflows/ci.yml/badge.svg)](https://github.com/denniskigen/react-weather/actions/workflows/validate.yml) ![Deployment status](https://img.shields.io/github/deployments/denniskigen/react-weather/production?label=vercel&logo=vercel&logoColor=white) [![Coverage Status](https://coveralls.io/repos/github/denniskigen/react-weather/badge.svg?branch=main)](https://coveralls.io/github/denniskigen/react-weather?branch=main) | ||
<div align="center"> | ||
<img height="72" width="72" src="./public/logo.svg" alt="App logo" /> | ||
</div> | ||
|
||
> If you like React Weather, you'll :heart: [React Weather Next](https://react-weather-next.denniskigen.com)! | ||
![Landing page screenshot](./public/screenshot.png) | ||
|
||
React Weather is a beautiful weather app that uses the [OpenWeatherMap API](https://openmweathermap.org/api). | ||
[![build](https://github.com/denniskigen/react-weather/actions/workflows/ci.yml/badge.svg)](https://github.com/denniskigen/react-weather/actions/workflows/validate.yml) ![Deployment status](https://img.shields.io/github/deployments/denniskigen/react-weather/production?label=vercel&logo=vercel&logoColor=white) [![Coverage Status](https://coveralls.io/repos/github/denniskigen/react-weather/badge.svg?branch=main)](https://coveralls.io/github/denniskigen/react-weather?branch=main) | ||
|
||
[See it live](https://react-weather.denniskigen.com) | ||
|
||
![Home page](https://github.com/denniskigen/react-weather/blob/main/public/screen.png) | ||
[React Weather](https://react-weather.denniskigen.com) is a beautiful weather app built on top of the [OpenWeatherMap API](https://openmweathermap.org/api). | ||
|
||
## Getting started | ||
|
||
- Sign up over at [openweathermap.org](https://openweathermap.org/appid) and get an API key. | ||
- Fork the project and clone it locally. | ||
- Create a file at the root of the project called `.env.local` with the following contents: | ||
- Install dependencies using [pnpm](https://pnpm.io/installation): | ||
|
||
```sh | ||
VITE_API_URL = 'https://api.openweathermap.org/data/2.5' | ||
VITE_API_KEY = The API key you obtained from openweathermap.org | ||
VITE_ICON_URL = 'https://openweathermap.org/img/w' | ||
pnpm install | ||
``` | ||
|
||
- Install dependencies using [pnpm](https://pnpm.io/installation): | ||
- Create a file at the root of the project called `.env.local` with the following contents: | ||
|
||
```sh | ||
pnpm install | ||
``` | ||
VITE_API_URL = 'https://api.openweathermap.org/data/2.5' | ||
VITE_API_KEY = The API key you obtained from openweathermap.org | ||
VITE_ICON_URL = 'https://openweathermap.org/img/w' | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
e1f73ac
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-weather – ./
react-weather-denniskigen.vercel.app
react-weather-git-main-denniskigen.vercel.app
react-weather.denniskigen.com