{"id":13761946,"url":"https://github.com/nikitowsky/next-advanced-apollo-starter","last_synced_at":"2025-05-10T14:30:54.580Z","repository":{"id":37950875,"uuid":"189761262","full_name":"nikitowsky/next-advanced-apollo-starter","owner":"nikitowsky","description":"Advanced, but minimalistic Next.js and Apollo starter","archived":false,"fork":false,"pushed_at":"2023-10-25T06:46:45.000Z","size":680,"stargazers_count":276,"open_issues_count":6,"forks_count":31,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-08T18:02:42.516Z","etag":null,"topics":["apollo","authentication","boilerplate","developer-experience","docker","graphql","jest","jwt","nextjs","nginx","react","react-testing-library","starter","testing-library","typescript","universal","vercel"],"latest_commit_sha":null,"homepage":"","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/nikitowsky.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}},"created_at":"2019-06-01T17:40:44.000Z","updated_at":"2024-08-08T18:02:56.931Z","dependencies_parsed_at":"2024-08-08T18:02:48.655Z","dependency_job_id":"bb453b28-ed07-41b2-9bca-632c39ba0512","html_url":"https://github.com/nikitowsky/next-advanced-apollo-starter","commit_stats":null,"previous_names":["borisowsky/next-advanced-apollo-starter"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitowsky%2Fnext-advanced-apollo-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitowsky%2Fnext-advanced-apollo-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitowsky%2Fnext-advanced-apollo-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikitowsky%2Fnext-advanced-apollo-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikitowsky","download_url":"https://codeload.github.com/nikitowsky/next-advanced-apollo-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224970216,"owners_count":17400292,"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":["apollo","authentication","boilerplate","developer-experience","docker","graphql","jest","jwt","nextjs","nginx","react","react-testing-library","starter","testing-library","typescript","universal","vercel"],"created_at":"2024-08-03T14:00:31.887Z","updated_at":"2024-11-16T20:30:49.582Z","avatar_url":"https://github.com/nikitowsky.png","language":"TypeScript","funding_links":[],"categories":["Nextjs Projects","TypeScript","🛠️ Developer Tools"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\nnext-advanced-apollo-starter\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n  Advanced and minimalistic Next.js and Apollo starter\n\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#whats-included\"\u003eWhat's included\u003c/a\u003e •\n  \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e •\n  \u003ca href=\"#apollo-usage\"\u003eApollo usage\u003c/a\u003e •\n  \u003ca href=\"#tests\"\u003eTests\u003c/a\u003e •\n  \u003ca href=\"#docker-usage\"\u003eDocker usage\u003c/a\u003e\n\u003c/p\u003e\n\n## What's included\n\n### Features\n\n- Latest [Next.js](https://nextjs.org/) version.\n- Latest packages updates.\n- GraphQL [Apollo](https://www.apollographql.com/docs/react/essentials/get-started/) client with built-in\n  cookie-based [JWT](https://jwt.io/) token authentication.\n- Works both via _Client-Side Rendering_ and _Server-Side Rendering_;\n- [TypeScript](https://www.typescriptlang.org/) environment.\n- [Normalize.css](https://necolas.github.io/normalize.css/) included.\n- _No custom server_.\n\n### Developer experience\n\n- Testing environment via [Jest](https://jestjs.io/)\n  and [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro).\n- Configured [GraphQL Code Generator](https://www.the-guild.dev/graphql/codegen). Simply run `yarn codegen`.\n- [Prettier](https://prettier.io/) for code formatting.\n- Debug configuration for [VSCode](https://code.visualstudio.com/).\n- [Docker](https://www.docker.com/) configuration to serve **production-ready** build with Nginx.\n\n## Getting started\n\nNo extra knowledge needed to get started, see [Next.js documentation](https://nextjs.org/docs).\n\n## GraphQL Code Generation\n\nGenerated interfaces for co-located _.graphql_ files. See the [example](./src/graphql/queries).\n\n```bash\nyarn codegen\n```\n\n## Apollo usage\n\n- [Client-Side Rendering (CSR) example](./src/pages/users-csr.tsx).\n- [Server-Side Rendering (SSR) example](./src/pages/users-ssr.tsx).\n\n## Tests\n\n[Jest](https://jestjs.io/) is a great tool for testing. To run tests simply use `test` script from `package.json`:\n\n```bash\nyarn test\n```\n\n---\n\nPretty much everything you need to know about project structure, SSR, etc., you can find in\nthe [official Next.js documentation](https://nextjs.org/docs).\n\n## Docker usage\n\nTo build and run Dockerized **production-ready** container, run:\n\n```bash\ndocker-compose up --build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikitowsky%2Fnext-advanced-apollo-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikitowsky%2Fnext-advanced-apollo-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikitowsky%2Fnext-advanced-apollo-starter/lists"}