百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

react-weather-app

> 前端框架
开源

使用 React 和 TypeScript 构建的天气应用

99 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

使用 React 和 TypeScript 构建的天气应用

React Weather App

Weather App built with React. Live Demo

Tech Stack

React, TypeScript, Vite

Features

  • Weather forecast for any city or place
  • Extended 7 days forecast
  • Find user location weather by utilizing GeolocationAPI
  • One-click Celcius to Fahrenheit conversion and vice versa
  • Dark Mode

Getting Started

First you need an API key from OpenWeatherMap, you can get one by creating an account on their website. After you got your API key, create a .env file at root directory of project, copy the line below to the file and replace YOUR_KEY with your OpenWeatherMap API Key.

VITE_WEATHER_API_KEY=YOUR_KEY

Finally clone this repository, install dependencies and run the local server

bash
git clone https://github.com/esnz/react-weather-app.git
bash
cd react-weather-app
npm install
npm run dev

Credits

OpenWeatherMap (Weather data API)

Open-Meteo Geocoding (Place suggestion API)

Icons8.com (Weather icons)

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptopenweathermapreactreactweatherredux

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架