{"id":21604281,"url":"https://github.com/vogelino/nextjs-cms-ecommerce","last_synced_at":"2026-04-30T16:33:02.296Z","repository":{"id":142571998,"uuid":"326266447","full_name":"vogelino/nextjs-cms-ecommerce","owner":"vogelino","description":"An adaptable eCommerce website boilerplate based on Next.js 🔼, Graphql ⚛ and Stripe 💳","archived":false,"fork":false,"pushed_at":"2021-01-02T22:11:16.000Z","size":275,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-30T16:33:01.356Z","etag":null,"topics":["cms","ecommerce","graphcms","graphql","nextjs","nextjs-boilerplate","nextjs-example","nextjs-template","seo-friendly","social-image","standardjs","static-site","stripe","stripe-payments"],"latest_commit_sha":null,"homepage":"https://nextjs-cms-ecommerce.vogelino.com","language":"JavaScript","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/vogelino.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":"2021-01-02T20:35:47.000Z","updated_at":"2021-01-04T17:58:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"91d3abc7-56bd-4de4-87f0-24016eb7ed74","html_url":"https://github.com/vogelino/nextjs-cms-ecommerce","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vogelino/nextjs-cms-ecommerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vogelino%2Fnextjs-cms-ecommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vogelino%2Fnextjs-cms-ecommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vogelino%2Fnextjs-cms-ecommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vogelino%2Fnextjs-cms-ecommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vogelino","download_url":"https://codeload.github.com/vogelino/nextjs-cms-ecommerce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vogelino%2Fnextjs-cms-ecommerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32470879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["cms","ecommerce","graphcms","graphql","nextjs","nextjs-boilerplate","nextjs-example","nextjs-template","seo-friendly","social-image","standardjs","static-site","stripe","stripe-payments"],"created_at":"2024-11-24T19:19:01.147Z","updated_at":"2026-04-30T16:33:02.279Z","avatar_url":"https://github.com/vogelino.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js boilerplate for creating fast, cms-baked (eCommerce) websites\nThis project is the base I use when creating websites. It is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) and using [GraphCMS](https://graphcms.com/) as it underlying headless CMS and Stripe payments for the eCommerce part. It can be adapted to use another CMS, like strapi, contentful, or any other headless CMS providing a multi-language graphql API.\n\n## Focus\nThis website tries to focus on best practices in the field of website creation. It focuses on:\n- Providing good natural SEO optimization\n  - Using `next/head`\n  - Providing unique, per-page meta tags directly from the CMS\n  - Auto generating branded social-media images using `puppeteer` on a serverless function\n  - Providing all the required favicon images\n  - Providing the required `robots.txt` and `manifest.webmanifest` files\n- Using the appropriated HTML delivery mechanism\n  - Using static site generation where possible\n  - Using server side rendering for dynamic routes\n  - Using client side code for live dynamic content\n- Using custom Stripe payments for the ecommerce\n- Using i18n with `next-translate`, next.js localized routing, localized content straight from the CMS and native number formatting using `Intl.NumberFormat`\n- Using `React.Context` for global state (e.g. loading or cart state)\n- Using Tailwinf in combination of CSS modules for an optimized performance and a minimal effort\n- Providing the best setup for a frictionless deployment with `vercel`\n\n## Running the website locally\nFirst, rename the `sample.env` file to `.env` and adapt the values.\n\nThen, run the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.\n\n[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.\n\nThe `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvogelino%2Fnextjs-cms-ecommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvogelino%2Fnextjs-cms-ecommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvogelino%2Fnextjs-cms-ecommerce/lists"}