{"id":20626688,"url":"https://github.com/dimensionsoftware/generator-shopify-nextjs","last_synced_at":"2025-10-11T08:44:20.385Z","repository":{"id":57248816,"uuid":"153853020","full_name":"DimensionSoftware/generator-shopify-nextjs","owner":"DimensionSoftware","description":"A Yeoman generator for Serverless Shopify apps using Next.js, Koa, Prisma GraphQL \u0026 Shopify's Polaris","archived":false,"fork":false,"pushed_at":"2019-03-31T22:45:47.000Z","size":218,"stargazers_count":32,"open_issues_count":1,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T21:51:06.386Z","etag":null,"topics":["apollo-client","generator","koa","nextjs","polaris","prisma","shopify"],"latest_commit_sha":null,"homepage":"https://dimensionsoftware.com","language":"JavaScript","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/DimensionSoftware.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}},"created_at":"2018-10-19T23:46:51.000Z","updated_at":"2024-08-01T13:22:04.000Z","dependencies_parsed_at":"2022-08-24T16:50:58.442Z","dependency_job_id":null,"html_url":"https://github.com/DimensionSoftware/generator-shopify-nextjs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionSoftware%2Fgenerator-shopify-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionSoftware%2Fgenerator-shopify-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionSoftware%2Fgenerator-shopify-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionSoftware%2Fgenerator-shopify-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DimensionSoftware","download_url":"https://codeload.github.com/DimensionSoftware/generator-shopify-nextjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249094999,"owners_count":21211845,"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-client","generator","koa","nextjs","polaris","prisma","shopify"],"created_at":"2024-11-16T13:14:26.235Z","updated_at":"2025-10-11T08:44:15.334Z","avatar_url":"https://github.com/DimensionSoftware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# generator-shopify-nextjs [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]\n\u003e A Yeoman generator for Serverless Shopify apps using Next.js, Koa, Prisma GraphQL \u0026 Shopify's Polaris\n\n## The Stack\n\n* [next.js](https://github.com/zeit/next.js)\n* [koa](https://github.com/koajs/koa)\n* [koa-shopify-auth](https://github.com/Shopify/quilt/tree/master/packages/koa-shopify-auth)\n* [koa-shopify-graphql-proxy](https://github.com/Shopify/quilt/tree/master/packages/koa-shopify-graphql-proxy)\n* [Polaris](https://polaris.shopify.com/)\n* [Prisma](https://www.prisma.io/)\n* [Apollo](https://www.apollographql.com/client)\n\n## Installation\n\nFirst, install [Yeoman](http://yeoman.io) and generator-shopify-nextjs using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).\n\n```bash\nnpm install -g yo\nnpm install -g generator-shopify-nextjs\n```\n\nThen generate your new project:\n\n```bash\ncd /path/to/empty/directory\nyo shopify-nextjs name-of-app\n```\n\n## Setup\n\n### Prisma\n\nThis is the default data store that's hosted at [app.prisma.io](https://app.prisma.io/).\nIt's a hosted GraphQL service that has a free tier, so it's easy to get started.\nTo initialize a prisma instance, do the following:\n\n```sh\ncd data\nprisma init\ncp datamodel.prisma.example datamodel.prisma\nprisma deploy\n```\n\nIf you want to use a different data store, it's easy enough to replace with whatever you\nwant.  In `server.js`, you just have to store the `accessToken` that Shopify gives you\nupon app installation using your own database libraries.\n\n### Shopify Partner\n\n* TODO - Explain how to register an app as a Shopify partner.\n* TODO - Explain how this is where the API keys for your new Shopify app come from.\n\n\n### Fill out .env\n\nYour .env should have the following entries:\n\n```\nSHOPIFY_API_KEY=...\nSHOPIFY_SECRET=...\nSERVER_SECRET=...\nNEXT_STATIC_GRAPHQL_URI=...\n```\n\n## Deployment\n\n```sh\nnpm i -g now\nnow\n```\n\n## REPL\n\n```sh\nbin/repl\n```\n\n## License\n\nMIT © [Dimension Software](https://dimensionsoftware.com)\n\n\n[npm-image]: https://badge.fury.io/js/generator-shopify-nextjs.svg\n[npm-url]: https://npmjs.org/package/generator-shopify-nextjs\n[travis-image]: https://travis-ci.org/DimensionSoftware/generator-shopify-nextjs.svg?branch=master\n[travis-url]: https://travis-ci.org/DimensionSoftware/generator-shopify-nextjs\n[daviddm-image]: https://david-dm.org/DimensionSoftware/generator-shopify-nextjs.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/DimensionSoftware/generator-shopify-nextjs\n[coveralls-image]: https://coveralls.io/repos/DimensionSoftware/generator-shopify-nextjs/badge.svg\n[coveralls-url]: https://coveralls.io/r/DimensionSoftware/generator-shopify-nextjs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimensionsoftware%2Fgenerator-shopify-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimensionsoftware%2Fgenerator-shopify-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimensionsoftware%2Fgenerator-shopify-nextjs/lists"}