Giter VIP home page Giter VIP logo

unft-marketplace's Introduction

uNFT Marketplace

The uNFT Marketplace is a template that you can use to start your own digital art marketplace. Download for free.

Cosmic uNFT

Technology used

This template uses the following technologies:

  • Next.js - 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.
  • Cosmic - fast, fully managed headless CMS that enables us to quickly manage and create website content including UGC (user-generated content).
  • Stripe - payments infrastructure that provides API tools to receive one-time and subscription payments.

Links

Getting started

  1. First, install the app template into your Cosmic account to get the demo content ready.
  2. Then download and install the code on your machine.
git clone https://github.com/cosmicjs/unft-marketplace.git
cd unft-marketplace
pnpm install
# or
yarn
# or
npm install

Environment variables

You'll need to create a .env file in the root of the project and add the access keys for Cosmic and Stripe.

Cosmic: Go to Cosmic and from the Bucket that you installed the app template go to Bucket Settings > API Access and get your API access keys.

Stripe: Log in to Stripe and get your keys in the for developers section.

Add your keys to the .env file like so:

//.env
NEXT_PUBLIC_COSMIC_BUCKET_SLUG=your_cosmic_slug
NEXT_PUBLIC_COSMIC_READ_KEY=your_cosmic_read_key
COSMIC_WRITE_KEY=your_cosmic_write_key

NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_key
STRIPE_SECRET_KEY=your_stripe_secret_key

Then run the development server

pnpm dev
# OR
yarn dev
# OR
npm run dev

Open http://localhost:3000 with your browser to see the result.

Deploy on Vercel

Use the following button to deploy to Vercel. You will need to add your environment variables before deployment.

Check out the Next.js deployment documentation for more details.

License

This project is published under the MIT license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.