Skip to content

zeratul1215/weatherApp

Repository files navigation

天气应用

一个使用 React 和 Open-Meteo API 构建的天气应用,支持查看实时天气和未来五天预报。

功能特点

  • 🌤️ 实时天气信息
  • 📅 未来五天天气预报
  • 📍 支持多个城市切换
  • 🎯 支持当前位置获取
  • 🌙 支持亮色/暗色主题切换
  • 📱 响应式设计

技术栈

  • React
  • TypeScript
  • Vite
  • Open-Meteo API
  • CSS Modules

本地开发

  1. 克隆仓库
git clone https://github.com/your-username/weather-app.git
cd weather-app
  1. 安装依赖
npm install
  1. 启动开发服务器
npm run dev
  1. 构建生产版本
npm run build

测试

运行测试:

npm run test

部署

URL: https://zeratul1215.github.io/weatherApp/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published