Environment variables

To run this project, you will need to add the following environment variables to your .env file Note: environment variables should be entered without / at the end (without trailing / )

VARIABLE

VALUE

USAGE

NEXT_PUBLIC_NODE_API

URL of the api

NEXT_PUBLIC_SOCKET_API

URL of the same api as NODE_API, used to split load for sockets and api

(Optional)

NEXT_PUBLIC_IS_NFT_CREATION_ENABLED

true or false

Enable or disable the creation of NFT

NEXT_PUBLIC_SECRET_COOKIE

AStrongPassword101

Secure the cookie on the app, must be same as SECRET_COOKIE on your marketplace api

NEXT_PUBLIC_SENTRY_DSN

The url to your sentry project if you want to monitor activity

(Optional)

SENTRY_AUTH_TOKEN

xxxxxxxxxxxxxx

Your auth token if you use Sentry

(Optional, required in case NEXT_PUBLIC_SENTRY_DSN is set)

SENTRY_ENV

development or production or ...

Allow to separate monitoring on environment

(Optional)

Last updated