{"id":32544075,"url":"https://github.com/ragini-pandey/graphql-weather-app","last_synced_at":"2026-05-04T15:37:31.543Z","repository":{"id":317196378,"uuid":"1066376512","full_name":"ragini-pandey/graphql-weather-app","owner":"ragini-pandey","description":"Next.js weather dashboard powered by GraphQL, Apollo Client, Tremor charts and TailwindCSS","archived":false,"fork":false,"pushed_at":"2025-09-29T12:46:33.000Z","size":1038,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-29T14:28:59.565Z","etag":null,"topics":["appolo-client","graphql","nextjs","stepzen","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://graphql-weather-app.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ragini-pandey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-29T11:59:43.000Z","updated_at":"2025-09-29T12:47:39.000Z","dependencies_parsed_at":"2025-09-29T14:29:44.572Z","dependency_job_id":"43d8518e-b79f-4655-b3a4-ced0bdf6139d","html_url":"https://github.com/ragini-pandey/graphql-weather-app","commit_stats":null,"previous_names":["ragini-pandey/graphql-weather-app"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ragini-pandey/graphql-weather-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragini-pandey%2Fgraphql-weather-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragini-pandey%2Fgraphql-weather-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragini-pandey%2Fgraphql-weather-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragini-pandey%2Fgraphql-weather-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ragini-pandey","download_url":"https://codeload.github.com/ragini-pandey/graphql-weather-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ragini-pandey%2Fgraphql-weather-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32613818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appolo-client","graphql","nextjs","stepzen","tailwindcss","typescript"],"created_at":"2025-10-28T17:22:52.944Z","updated_at":"2026-05-04T15:37:31.535Z","avatar_url":"https://github.com/ragini-pandey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Weather App 🌤️\n\nAn **interactive weather app** built with **Next.js**, **TypeScript**, **GraphQL**, and **StepZen** — delivering **real-time weather data** through seamless **GraphQL queries**.  \nThe app features a **modern, responsive dashboard** powered by **Apollo Client**, **Tremor charts**, and **Tailwind CSS**, providing a clean and insightful visualization of live weather metrics.\n\n## 🖼️ Screenshots\n\n![Intro Screen](https://github.com/ragini-pandey/graphql-weather-app/blob/master/public/Screenshot-1.png)\n![Loading Screen](https://github.com/ragini-pandey/graphql-weather-app/blob/master/public/Screenshot-2.png)\n![Dashboard Screen](https://github.com/ragini-pandey/graphql-weather-app/blob/master/public/Screenshot-3.png)\n\n------------------------------------------------------------\n\n## 🧭 Table of Contents\n\n- Features\n- Tech Stack\n- Project Structure\n- Getting Started\n  - Prerequisites\n  - Environment Variables\n  - Installation \u0026 Running\n- GraphQL Schema \u0026 Queries\n- Key Modules \u0026 Architecture\n- Scripts\n\n------------------------------------------------------------\n\n## 🔍 Features\n\n- Fetch current weather for a given location\n- Use GraphQL API (via StepZen) to query weather data\n- Search by city name\n- Display temperature, humidity, wind, etc.\n- Clean, responsive UI\n\n------------------------------------------------------------\n\n## 🧱 Tech Stack\n\n- Next.js (with TypeScript)\n- React + hooks\n- GraphQL / StepZen\n- Apollo Client (or GraphQL client)\n- Styling: Tailwind CSS\n- API key management via environment variables\n\n------------------------------------------------------------\n\n## 📁 Project Structure\n\n```\n.\n├── app/                    # Next.js app route components\n├── components/             # UI components\n├── graphql/                # GraphQL queries / schema\n├── lib/                    # Helper utilities (API client)\n├── public/                 # Static assets\n├── stepzen/                # StepZen config / endpoint setup\n├── .eslintrc.json\n├── next.config.js\n├── package.json\n├── tailwind.config.js\n├── tsconfig.json\n└── README.md\n```\n\n------------------------------------------------------------\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Node.js (v14+)\n- A host or test account for StepZen (or GraphQL endpoint)\n- Weather API key (e.g. OpenWeatherMap, etc.)\n\n### Environment Variables\n\nCreate a `.env.local` file in the project root:\n\n```env\nOPENAI_API_KEY=your_openai_api_key\nAPI_URL=your_stepzen_endpoint_url\nNEXT_PUBLIC_STEPZEN_API_KEY=your_stepzen_api_key\n```\n\n### Installation \u0026 Running\n\n```bash\n# Install dependencies\nnpm install\n\n# Start development server\nnpm run dev\n# Open http://localhost:3000\n\n# Build \u0026 run production\nnpm run build \u0026\u0026 npm start\n```\n\n------------------------------------------------------------\n\n## 🔎 GraphQL Schema \u0026 Queries\n\n- The GraphQL schema defines a `Weather` query (or similar) to fetch weather data\n- Queries take location (city name, coordinates) as arguments\n- Returns fields like: temperature, humidity, windSpeed, weatherDescription\n\nYou can inspect the GraphQL playground at your StepZen endpoint for more details.\n\n------------------------------------------------------------\n\n## 🧩 Key Modules \u0026 Architecture\n\n- lib/apollo-client.ts — sets up GraphQL client with endpoint \u0026 auth\n- graphql/queries — GraphQL query files (e.g. GET_WEATHER.gql)\n- components/WeatherCard — displays weather details\n- app/page.tsx — UI for search \u0026 display\n- State \u0026 UI logic handled via React hooks\n\n------------------------------------------------------------\n\n## 🧪 Scripts\n\n| Script | Description              |\n|--------|--------------------------|\n| dev    | Start dev server         |\n| build  | Build for production     |\n| start  | Run production server    |\n| lint   | Run ESLint               |\n\n------------------------------------------------------------\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragini-pandey%2Fgraphql-weather-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fragini-pandey%2Fgraphql-weather-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fragini-pandey%2Fgraphql-weather-app/lists"}