Configure core application settings, database, and features
For additional support, visit our Support Center
NEXT_PUBLIC_SITE_URL="http://localhost"
Base URL of your application. Change to your domain in production.
NEXT_PUBLIC_FRONTEND_PORT="3000"
NEXT_PUBLIC_BACKEND_PORT="4000"
Frontend runs on port 3000, backend API on port 4000.
NEXT_PUBLIC_SITE_NAME="Bicrypto"
NEXT_PUBLIC_SITE_DESCRIPTION="Bicrypto is a cryptocurrency exchange platform, where you can trade Bitcoin, Ethereum, Litecoin, and other cryptocurrencies."
Used for SEO meta tags, page titles, and social sharing.
NODE_ENV="development"
Set to "production" for live deployment.
NEXT_PUBLIC_DEMO_STATUS="false"
NEXT_PUBLIC_MAINTENANCE_STATUS="false"
Control demo mode and maintenance status.
DB_NAME="v5"
DB_USER="root"
DB_PASSWORD=""
DB_HOST="localhost"
DB_PORT="3306"
NEXT_PUBLIC_DEFAULT_LANGUAGE="en"
Default language for the application (English).
NEXT_PUBLIC_LANGUAGES="af, sq, am, ar, hy, as, az, bn, bs, bg, yue, ca, hr, cs, da, dv, nl, en, et, fj, fil, fi, fr, gl, ka, de, el, gu, ht, hi, hu, is, id, ga, it, ja, kn, kk, km, ko, lv, lt, mk, ms, ml, mt, mr, nb, fa, pl, pt, pa, ro, ru, sk, sl, es, sw, sv, ta, te, th, tr, uk, ur, vi, cy, zu"
Comma-separated list of supported language codes.
NEXT_PUBLIC_DEFAULT_THEME="dark"
Options: "dark", "light", "system"
NEXT_PUBLIC_DEFAULT_LAYOUT="top-navigation"
Options: "top-navigation", "sidebar-panel", "sidebar-panel-float"
NEXT_PUBLIC_FRONTEND="true"
NEXT_PUBLIC_DEFAULT_USER_PATH="/user"
Enable frontend and set default user dashboard path.
NEXT_PUBLIC_BYPASS_SSL="true"
NEXT_PUBLIC_BACKEND_THREADS="2"
SSL bypass for development, backend thread count.
NEXT_PUBLIC_BINARY_STATUS="true"
NEXT_PUBLIC_BINARY_PRACTICE_STATUS="true"
Enable binary trading feature and practice mode.
NEXT_PUBLIC_BLOG_STATUS="true"
Enable blog/news system for your platform.
After making changes to your environment variables, restart the development server to apply the changes:
Environment variable changes require a server restart to take effect.
Press Ctrl + C in your terminal
pnpm dev
This will restart both frontend and backend with your new configuration.