{"id":21481308,"url":"https://github.com/mobilereality/nextjs-graphql","last_synced_at":"2025-03-17T09:13:39.984Z","repository":{"id":194804502,"uuid":"690939575","full_name":"MobileReality/nextjs-graphql","owner":"MobileReality","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-14T14:55:41.000Z","size":297,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T18:49:05.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/MobileReality.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}},"created_at":"2023-09-13T07:27:09.000Z","updated_at":"2023-09-14T14:38:59.000Z","dependencies_parsed_at":"2023-09-15T06:58:56.041Z","dependency_job_id":null,"html_url":"https://github.com/MobileReality/nextjs-graphql","commit_stats":null,"previous_names":["mobilereality/nextjs-graphql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobileReality%2Fnextjs-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobileReality%2Fnextjs-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobileReality%2Fnextjs-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MobileReality%2Fnextjs-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MobileReality","download_url":"https://codeload.github.com/MobileReality/nextjs-graphql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006398,"owners_count":20382443,"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":[],"created_at":"2024-11-23T12:23:18.492Z","updated_at":"2025-03-17T09:13:39.964Z","avatar_url":"https://github.com/MobileReality.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NextJS + GraphQL Boilerplate ⚡\n\n🚀 **Next.js with App Router and Page Router Support**\nYou already have Next.js as a dependency, which provides routing support.\n\n🔍 **Type Checking with TypeScript**\nTypeScript is included as a dependency for type checking.\n\n🛡️ **Strict Mode for TypeScript and React 18**\nYou have React 18, which supports concurrent mode for improved performance.\n\n🔒 **Authentication with NextAuth**\nYou have \"next-auth\" as a dependency for authentication.\n\n📝 **Form Handling with React Hook Form**\nYou have \"react-hook-form\" as a dependency for form handling.\n\n✅ **Validation Library with Yup**\nYup is included as a dependency for data validation.\n\n🌐 **State Management with Zustand**\nYou have Zustand as a dependency for global state management.\n\n🔗 **GraphQL Integration**\nYou have \"graphql\" as a dependency, which can be used for GraphQL API integration.\n\n🚀 **URQL for GraphQL**\nYou have several URQL-related dependencies for GraphQL client-side operations.\n\n🌍 **Internationalization (i18n) with Next-i18next and i18next**\nYou have \"next-i18next\" and \"i18next\" for handling internationalization.\n\n📈 **SEO Optimization with Next SEO**\nYou have \"next-seo\" for managing SEO metadata.\n\n🗺️ **Sitemap Generation with Next Sitemap**\nYou have \"next-sitemap\" for generating sitemaps.\n\n📣 **React Toast Notifications with react-hot-toast**\nYou have \"react-hot-toast\" for displaying toast notifications.\n\n💅 **Styled Components for Styling**\nYou have \"styled-components\" for styling your components.\n\n🧹 **Linting with ESLint**\nYou have ESLint as a devDependency for linting purposes.\n\n📜 **Eslint Configuration with Mobile Reality**\nYou have \"@mobile-reality/eslint-config\" for ESLint configuration.\n\n🧼 **Code Formatting with Prettier**\nPrettier is included as a devDependency for code formatting.\n\n🧪 **Testing with Jest and Styled Components**\nYou have Jest and \"jest-styled-components\" for testing styled components.\n\n🌐 **Accessibility Testing with Axe**\nYou have \"@axe-core/react\" for accessibility testing.\n\n🛠️ **Webpack Configuration with SVGR**\nYou have \"@svgr/webpack\" for optimizing SVGs.\n\n🆔 **UUID Handling with @types/uuid**\nYou have \"@types/uuid\" for UUID handling.\n\n✏️ **Inline SVGs with babel-plugin-inline-react-svg**\nYou have \"babel-plugin-inline-react-svg\" for inlining SVGs.\n\n\u003e Please note that you may need to configure and integrate these\n\u003e dependencies according to your project's specific requirements and use\n\u003e cases.\n\n\n## How to start with boilerplate? 🚀\n\n#### 1 ) Add following environment variables\n\n- NEXT_PUBLIC_SENTRY_DSN  ( from sentry.io )\n- NEXT_PUBLIC_APP_URL\n- NEXT_PUBLIC_ENV(*)\n- NEXTAUTH_SECRET(*)\n- NEXTAUTH_URL(*)\n\n\u003e (*) - Preferred to be added as infra container environment\n\n\n#### 2 ) Authorization  with next-auth\n\n1) Make sure your you have added your environment variables\n2) Go to `src/api/graphql/mutations` and implement your login mutation\n3)  Go to `src/view/index` and add credentials to verify authorization\n\n#### 3 ) SEO\n\n1) Go to `/public/assets/favicons`, upload your favicons and update site.webmanifest and browserconfig.xml\n2) Go to `/public/locales/meta` and update 'main' translations\n3) In `/next.config.js` update www to non-www redirect domains\n\n#### 4 ) Search for FIXME\n\nIn boilerplate there is some FIXME comments near code fragments that need to be updated\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobilereality%2Fnextjs-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobilereality%2Fnextjs-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobilereality%2Fnextjs-graphql/lists"}