MCPcopy Index your code
hub / github.com/denniskigen/react-weather

github.com/denniskigen/react-weather @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
29 symbols 86 edges 31 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

App logo

Landing page screenshot

build Deployment status Coverage Status

React Weather is a beautiful weather app built on top of the OpenWeatherMap API.

Getting started

  • Sign up over at openweathermap.org and get an API key.
  • Fork the project and clone it locally.
  • Install dependencies using pnpm:

sh pnpm install

  • Create a file at the root of the project called .env.local with the following contents:

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'

Core symbols most depended-on inside this repo

rawSetTheme
called by 2
src/components/theme-context.jsx
useWeather
called by 2
src/hooks/useWeather.js
toggleSettingsMenu
called by 1
src/components/units-toggle.jsx
handleLocationChange
called by 1
src/components/app.jsx
handleError
called by 1
src/lib/fetcher.js
mapResponseProperties
called by 1
src/hooks/useWeather.js
Toggle
called by 0
src/components/theme-toggle.jsx
NavBar
called by 0
src/components/navbar.jsx

Shape

Function 29

Languages

TypeScript100%

Modules by API surface

src/components/units-toggle.jsx3 symbols
src/components/theme-context.jsx3 symbols
src/components/app.jsx3 symbols
src/lib/fetcher.js2 symbols
src/hooks/useWeather.js2 symbols
src/components/navbar.jsx2 symbols
src/components/weather-card.jsx1 symbols
src/components/theme-toggle.jsx1 symbols
src/components/search.jsx1 symbols
src/components/loading.jsx1 symbols
src/components/layout.jsx1 symbols
src/components/forecast-card.jsx1 symbols

For agents

$ claude mcp add react-weather \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact