Niftory Docs
  • What is Niftory?
  • Get your API Keys
  • 👩‍💻API
    • Niftory Web3 API
    • SDK QuickStart
      • Using the SDK in React
      • Using the SDK from the Server
    • API Quickstart
      • Create your first Wallet
      • API calls with Sample Content
      • Mint your first NFT
    • API Cheat Sheet
    • Niftory Sample App
      • Explore the Sample App
      • Anatomy of a Niftory App
        • Getting Authenticated
        • GraphQL Client Setup
        • API Usage
        • Transfer an NFT
    • 💡Core Concepts
      • Niftory Data Model
      • Authentication
        • Using Your API Key
        • Configuring Your App
        • Privileged Authentication
      • App and AppUser
      • NFTs
        • Creating NFTs
        • Querying NFTs
        • Transferring NFTs
        • Minting NFTs
      • Wallets
        • Create a Niftory Wallet
        • Register External Wallets
        • Query Wallets
      • Contract
      • User Auth (Client-Side)
    • Your Niftory Account
  • 🧑‍💼Admin Portal
    • Niftory Admin Portal
    • 🚀Guides
      • Setting Up Your Org
      • Create Your First NFT
    • 🗺️Explore
      • Org and Apps
      • NFT Collection
        • Sets
        • Collectibles
        • NFTs
    • 💼Use Cases
      • For Engineers
      • For Designers
      • For Business Users
  • 📖Reference
    • GraphQL & Auth Endpoints
    • API Reference
    • SDK API Reference
Powered by GitBook
On this page
  • Try it out
  • Clone the Sample App

Was this helpful?

  1. API

Niftory Sample App

PreviousAPI Cheat SheetNextExplore the Sample App

Last updated 1 year ago

Was this helpful?

We have built a sample to showcase a basic working application that uses the Niftory API.

Try it out

You can play with a deployed instance of the sample app here:

You should be able to:

  • Log in using Niftory's OAuth service.

  • View the available NFT drops.

  • Set up a Wallet.

  • Mint and transfer an NFT to your wallet, and view your collection.

Clone the Sample App

Clone the Niftory Sample App to start exploring the Niftory platform.

Configure your .env

  1. Copy the .env.example file in the repo to a .env file.

.env
Description

NEXT_PUBLIC_API_KEY

API key for your app

NEXT_PUBLIC_CLIENT_ID

Client ID of your app

CLIENT_SECRET

Client secret of your app

Set up your local environment

First, from Niftory in order to start tinkering with the Sample App, and eventually getting your own app set up.

Update these environment variables to point to the API keys you got from .

Make sure to keep your .env in .gitignore. The CLIENT_SECRET should never be shared with anyone (it's like a password for your app). .

The Niftory Sample app is built on . You'll need a few things to get started, but if you've built a NextJS or React app before, it'll all be very familiar.

Follow the to finish setting up your local environment.

👩‍💻
get your API keys
API Quickstart
Learn more
NextJS
readme
https://github.com/Niftory/niftory-samplesgithub.com
https://sample.niftory.com
Logo