Skip to content

rubenmarcus/example-marketplace-mb-2

Repository files navigation

name slug description framework css deployUrl demoUrl
Simple Marketplace
simple-marketplace
Simple Marketplace on MintBase
Next.js
Tailwind

Simple Marketplace

This examples shows a simple marketplace.

Demo

https://examples-simple-marketplace.vercel.app/

Requirements

Try on CodeSandbox

Edit on CodeSandbox

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

Getting Started

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example https://github.com/Mintbase/examples/tree/main/simple-marketplace
# or
yarn create next-app --example https://github.com/Mintbase/examples/tree/main/simple-marketplace

Run Next.js in development mode:

npm install
npm run dev

# or

yarn
yarn dev

Set ENV variables

Once that's done, copy the .env.example file in this directory to .env.local (which will be ignored by Git):

cp .env.example .env.local

if you use windows without powershell or cygwin:

copy .env.example .env.local

To get your api key visit :

Mintbase Developers Page for Mainnet:
Mintbase Developers Page for testnet:

NEXT_PUBLIC_DEVELOPER_KEY=your_mintbase_api_key

NEXT_PUBLIC_NETWORK could be testnet or mainnet

NEXT_PUBLIC_NETWORK=testnet

NEXT_PUBLIC_STORES its your stores ids

NEXT_PUBLIC_STORES=latium.mintspace2.testnet,mufasa.mintspace2.testnet

NEXT_PUBLIC_AFFILIATE_ACCOUNT is your near account where your should get your market fee

NEXT_PUBLIC_AFFILIATE_ACCOUNT=your_near_account.near

Extending

This project is setup using Next.js + MintBase UI + Tailwind + Apollo. You can use this project as a reference to build your own, and use or remove any library you think it would suit your needs.

🙋‍♀️ Need extra help?

Ask on our Telegram Channel
Create an Issue

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published