3. Setup Frontend Config Variables - rafsanbasunia/reelnn GitHub Wiki

Setup Frontend Config Variables

After you've successfully setup backend and you have the BACKEND_URL, then start configuring your frontend. This section provides detailed instructions on how to get and setup config variables for the frontend.

  • Mandatory variables:

BACKEND_URL = The url of your backend without the / at the end. Ex. https://backend-abcd123.herokuapp.com

SITE_SECRET = Use the same SITE_SECRET you used to deploy backend.

NEXT_PUBLIC_TELEGRAM_BOT_NAME = Your Telegram Bot username which will forward the files to the users

NEXT_PUBLIC_SITE_NAME = Your Site Name

  • Optional variables:

NEXT_PUBLIC_FOOTER_DESC = Site Footer Description

NEXT_PUBLIC_FOOTER_CONTACT = Contact Link

SHORTENER_API_KEY = Api key if you want to use your shortner

SHORTENER_API_URL = Api url if you want to use your shortner