{"id":22210571,"url":"https://github.com/web3batman/next.js-marketplace-template","last_synced_at":"2025-07-27T10:31:56.675Z","repository":{"id":245631247,"uuid":"818800369","full_name":"web3batman/next.js-marketplace-template","owner":"web3batman","description":"Digital Art Marketplace 🎨🖼️, a modern and scalable platform for buying and selling digital art. This project leverages the power of Next.js 🚀 for server-side rendering and static site generation, Stripe 💳 for secure payment processing, and Cosmic 🌌 for headless CMS capabilities.","archived":false,"fork":false,"pushed_at":"2024-06-22T22:57:31.000Z","size":8884,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-02T20:13:14.208Z","etag":null,"topics":["cms","cosmic","nextjs","react","stripe"],"latest_commit_sha":null,"homepage":"https://cosmic-nextjs-marketplace.vercel.app","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/web3batman.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-22T22:53:34.000Z","updated_at":"2024-09-14T09:50:59.000Z","dependencies_parsed_at":"2024-06-23T04:27:50.411Z","dependency_job_id":"0a080e9e-9709-4625-847b-5bbf593540c7","html_url":"https://github.com/web3batman/next.js-marketplace-template","commit_stats":null,"previous_names":["web3batman/next.js-marketplace-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3batman%2Fnext.js-marketplace-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3batman%2Fnext.js-marketplace-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3batman%2Fnext.js-marketplace-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3batman%2Fnext.js-marketplace-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web3batman","download_url":"https://codeload.github.com/web3batman/next.js-marketplace-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227795389,"owners_count":17821007,"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":["cms","cosmic","nextjs","react","stripe"],"created_at":"2024-12-02T20:13:18.767Z","updated_at":"2024-12-02T20:13:21.583Z","avatar_url":"https://github.com/web3batman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Next.js Marketplace\n\nNow updated to connect to the new dashboard and [Cosmic JavaScript SDK](https://www.npmjs.com/package/@cosmicjs/sdk).\n\nThe Next.js Marketplace is a template that you can use to start your own digital art marketplace. Download for free.\n\n![Cosmic uNFT](https://user-images.githubusercontent.com/1950722/178328933-c6f0008f-a188-4678-9420-404dd1f02871.gif)\n\n## Technology used\n\nThis template uses the following technologies:\n\n- [Next.js](https://nextjs.org/) - scalable and high-performance **React.js** framework for modern web development. Provides a large set of features, such as hybrid rendering, route prefetching, automatic image optimization, and internationalization, out of the box.\n- [Cosmic](https://www.cosmicjs.com/) - fast, fully managed [headless CMS](https://www.cosmicjs.com/headless-cms) that enables us to quickly manage and create website content including UGC (user-generated content).\n- [Stripe](https://stripe.com/) - payments infrastructure that provides API tools to receive one-time and subscription payments.\n\n### Links\n\n- [View the live demo](https://c-marketplace-cosmicjs.vercel.app/)\n- [Install the template](https://www.cosmicjs.com/marketplace/templates/nextjs-marketplace)\n- [Read how it was built](https://www.cosmicjs.com/articles/build-a-digital-art-marketplace-with-nextjs-cosmic-and-stripe)\n\n## Getting started\n\n1. First, install the [template](https://www.cosmicjs.com/marketplace/templates/unft-marketplace) into your Cosmic account to get the demo content ready.\n2. Then download and install the code on your machine.\n\n```bash\ngit clone https://github.com/cosmicjs/unft-marketplace\ncd unft-marketplace\npnpm install\n# or\nyarn\n# or\nnpm install\n```\n\n### Environment variables\n\nYou'll need to create a `.env` file in the root of the project and add the access keys for Cosmic and Stripe. This can be done by copying the `.env.example`.\n\n```bash\ncp .env.example .env\n```\n\n**Cosmic**: Go to [Cosmic](https://app.cosmicjs.com/) and from the Bucket that you installed the app template go to _Bucket Settings \u003e API Access_ and get your API access keys.\n\n**Stripe**: Log in to [Stripe](https://dashboard.stripe.com/) and get your keys in the **for developers** section.\n\nAdd your keys to the `.env` file like so:\n\n```bash\n# .env\nNEXT_PUBLIC_COSMIC_BUCKET_SLUG=your_cosmic_slug\nNEXT_PUBLIC_COSMIC_READ_KEY=your_cosmic_read_key\nCOSMIC_WRITE_KEY=your_cosmic_write_key\n\nNEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_key\nSTRIPE_SECRET_KEY=your_stripe_secret_key\n```\n\n### Then run the development server\n\n```bash\npnpm dev\n# OR\nyarn dev\n# OR\nnpm run dev\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Deploy on Vercel\n\n\u003cp\u003eUse the following button to deploy to \u003ca href=\"https://vercel.com/\" rel=\"noopener noreferrer\" target=\"_blank\"\u003eVercel\u003c/a\u003e. You will need to add your environment variables before deployment.\u003c/p\u003e\n\u003cp\u003e\n\u003ca href=\"https://vercel.com/import/git?c=1\u0026s=https://github.com/cosmicjs/unft-marketplace\u0026env=NEXT_PUBLIC_COSMIC_BUCKET_SLUG,NEXT_PUBLIC_COSMIC_READ_KEY,COSMIC_WRITE_KEY,NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY,STRIPE_SECRET_KEY\u0026envDescription=Required%20to%20connect%20the%20app%20with%20Cosmic\u0026envLink=https://vercel.link/cms-cosmic-env\" rel=\"noopener noreferrer\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.cosmicjs.com/d3f0d5e0-c064-11ea-9a05-6f8a16b0b14c-deploy-to-vercel.svg\" style=\"width: 100px;\" class=\"fr-fic fr-dib fr-fil\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nCheck out the [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n\n## License\n\nThis project is published under the [MIT](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3batman%2Fnext.js-marketplace-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb3batman%2Fnext.js-marketplace-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3batman%2Fnext.js-marketplace-template/lists"}