Niftory Sample App
Last updated
Last updated
We have built a sample to showcase a basic working application that uses the Niftory API.
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.
First, get your API keys from Niftory in order to start tinkering with the Sample App, and eventually getting your own app set up.
Clone the Niftory Sample App to start exploring the Niftory platform.
Copy the .env.example
file in the repo to a .env
file.
Update these environment variables to point to the API keys you got from API Quickstart.
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
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). Learn more.
The Niftory Sample app is built on NextJS. 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 readme to finish setting up your local environment.