{"id":25845938,"url":"https://github.com/productdevbook/nuxt-4-graphql-yoga","last_synced_at":"2025-10-08T18:52:16.289Z","repository":{"id":279805488,"uuid":"940023747","full_name":"productdevbook/nuxt-4-graphql-yoga","owner":"productdevbook","description":"with nuxt 4 and a template of how graphql should be used. ","archived":false,"fork":false,"pushed_at":"2025-02-27T14:22:55.000Z","size":100,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-27T20:12:43.940Z","etag":null,"topics":["graphql","graphql-yoga","nitro","nitrojs","nuxt","nuxt4"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/productdevbook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-02-27T13:46:23.000Z","updated_at":"2025-02-27T18:53:11.000Z","dependencies_parsed_at":"2025-02-27T20:16:22.933Z","dependency_job_id":"98504c5e-e1e6-4354-b7fd-fb6f8c9efec4","html_url":"https://github.com/productdevbook/nuxt-4-graphql-yoga","commit_stats":null,"previous_names":["productdevbook/nuxt-4-graphql-yoga"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/productdevbook%2Fnuxt-4-graphql-yoga","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/productdevbook%2Fnuxt-4-graphql-yoga/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/productdevbook%2Fnuxt-4-graphql-yoga/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/productdevbook%2Fnuxt-4-graphql-yoga/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/productdevbook","download_url":"https://codeload.github.com/productdevbook/nuxt-4-graphql-yoga/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241341564,"owners_count":19947104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["graphql","graphql-yoga","nitro","nitrojs","nuxt","nuxt4"],"created_at":"2025-03-01T08:33:22.743Z","updated_at":"2025-10-08T18:52:11.224Z","avatar_url":"https://github.com/productdevbook.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Nuxt 4 with GraphQL Yoga\n\nA modern, high-performance Nuxt 4 starter template with GraphQL Yoga integration for building robust GraphQL APIs.\n\n## ✨ Introduction\n\nThis project demonstrates how to integrate GraphQL Yoga with Nuxt 4, providing a powerful backend for your Nuxt applications. GraphQL Yoga is a fully-featured GraphQL server with focus on easy setup, performance and great developer experience.\n\n## 🔗 GraphQL Yoga Integration\n\nThis template comes with pre-configured GraphQL Yoga setup:\n\n- 🌐 Accessible GraphQL API endpoint at `/api/graphql`\n- 💓 Health check endpoint at `/api/graphql/health`\n- 🧪 Interactive Apollo Sandbox for testing queries\n- 📋 Server-side schema definition and resolvers\n- 🛡️ Type-safe integration with Nuxt's Nitro server\n\n## 📘 Features\n\n- ⚡ Fast setup with minimal configuration\n- 🔄 Hot Module Replacement during development\n- 📱 Built-in responsive Apollo Sandbox interface\n- 🧩 Modular schema design\n- 🔒 Type-safe GraphQL implementation\n\n## 📚 Learn More\n\n- [GraphQL Yoga Documentation](https://the-guild.dev/graphql/yoga-server)\n- [Nuxt Documentation](https://nuxt.com/docs)\n- [Apollo Sandbox Documentation](https://www.apollographql.com/docs/studio/explorer/sandbox)\n\n\n## 📊 Using the GraphQL API\n\nOnce your server is running, you can:\n\n1. Access the Apollo Sandbox by navigating to `/api/graphql`\n2. Test the API with a simple query:\n```graphql\nquery {\n  hello\n  ping\n}\n```\n3. Integrate with your frontend using your favorite GraphQL client\n\n## 🛠️ Setup\n\nMake sure to install dependencies:\n\n```bash\n# npm\nnpm install\n\n# pnpm\npnpm install\n\n# yarn\nyarn install\n\n# bun\nbun install\n```\n\n## 🧑‍💻 Development Server\n\nStart the development server on `http://localhost:3000`:\n\n```bash\n# pnpm\npnpm dev\n```\n\n## 🏭 Production\n\nBuild the application for production:\n\n```bash\n# pnpm\npnpm build\n```\n\nLocally preview production build:\n\n```bash\n# pnpm\npnpm preview\n```\n\nCheck out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.\n\n\n---\n\nMade with ❤️ by [productdevbook](https://github.com/productdevbook) | [GitHub](https://github.com/productdevbook) | [Website](https://productdevbook.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproductdevbook%2Fnuxt-4-graphql-yoga","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproductdevbook%2Fnuxt-4-graphql-yoga","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproductdevbook%2Fnuxt-4-graphql-yoga/lists"}