{"repo":"nikitowsky/next-advanced-apollo-starter","free":true,"listed":false,"github":"https://github.com/nikitowsky/next-advanced-apollo-starter","clone":"git clone https://github.com/nikitowsky/next-advanced-apollo-starter.git","description":"Advanced, but minimalistic Next.js and Apollo starter","language":"TypeScript","stars":274,"topics":["typescript","react","apollo","testing-library","react-testing-library","authentication","nextjs","starter","boilerplate","developer-experience"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"next-advanced-apollo-starter Advanced, but minimalistic Next.js and Apollo starter What's included • Getting Started • Apollo usage • Testing What's included Features - Latest Next.js version with App Router. - GraphQL Apollo client with @apollo/client-integration-nextjs. - Works with React Server Components and React Client Components (with or without SSR). - TypeScript environment. - Normalize.css included. - No custom server . Developer experience - Testing environment via Vitest and @testing-library/react. - Configured GraphQL Code Generator. - Prettier for code formatting. - ESLint for linting. Getting started Prerequisites - Node.js 18.x or later - npm (or yarn/pnpm) Installation 1. Clone the repository: 2. Install dependencies: 3. Create a .env.local file with your GraphQL endpoint: 4. Start the development server: For more information, see Next.js documentation. GraphQL Code Generation Generated interfaces for co-located .graphql files. See the example. To generate TypeScript interfaces based on GraphQL schema and used queries/mutations: Apollo usage - React Server Components (RSC) example - React Client Components (RCC) example Testing This project uses Vitest for testing. To run tests: --- For more about project structure, React Server Components (RSC), React Client Components (RCC), etc., see the official Next.js documentation.","default_branch":null,"files":null,"tree":[],"storefront":"/r/nikitowsky","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nikitowsky/next-advanced-apollo-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}