name | slug | description | framework | css | deployUrl | demoUrl |
---|---|---|---|---|---|---|
Simple Marketplace |
simple-marketplace |
Simple Marketplace on MintBase |
Next.js |
Tailwind |
This examples shows a simple marketplace.
https://examples-simple-marketplace.vercel.app/
Deploy the example using Vercel:
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
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
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.