🏠

App Configuration

Configure core application settings, database, and features

Need Help?

For additional support, visit our Support Center

Basic App Settings

Site URL Configuration

NEXT_PUBLIC_SITE_URL

NEXT_PUBLIC_SITE_URL="http://localhost"

Base URL of your application. Change to your domain in production.

Port Configuration

NEXT_PUBLIC_FRONTEND_PORT="3000" NEXT_PUBLIC_BACKEND_PORT="4000"

Frontend runs on port 3000, backend API on port 4000.

Production: Set NEXT_PUBLIC_SITE_URL to your actual domain (e.g., "https://yourdomain.com")

Site Information

Site Name & Description

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.

Environment & Status

Environment Mode

NODE_ENV="development"

Set to "production" for live deployment.

System Status

NEXT_PUBLIC_DEMO_STATUS="false" NEXT_PUBLIC_MAINTENANCE_STATUS="false"

Control demo mode and maintenance status.

Database Configuration

MySQL Database Settings

Database Connection

DB_NAME="v5" DB_USER="root" DB_PASSWORD="" DB_HOST="localhost" DB_PORT="3306"

Configuration Guide

  • DB_NAME: Your database name
  • DB_USER: MySQL username
  • DB_PASSWORD: MySQL password
  • DB_HOST: Database server host
  • DB_PORT: MySQL port (default: 3306)
Security: Always use strong passwords and secure database access in production!

Localization Settings

Language Configuration

Default Language

NEXT_PUBLIC_DEFAULT_LANGUAGE="en"

Default language for the application (English).

Supported Languages

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.

Theme & Layout

Default Theme

NEXT_PUBLIC_DEFAULT_THEME="dark"

Options: "dark", "light", "system"

Layout Style

NEXT_PUBLIC_DEFAULT_LAYOUT="top-navigation"

Options: "top-navigation", "sidebar-panel", "sidebar-panel-float"

Feature Configuration

Core Features

Frontend & User Settings

NEXT_PUBLIC_FRONTEND="true" NEXT_PUBLIC_DEFAULT_USER_PATH="/user"

Enable frontend and set default user dashboard path.

Security & Performance

NEXT_PUBLIC_BYPASS_SSL="true" NEXT_PUBLIC_BACKEND_THREADS="2"

SSL bypass for development, backend thread count.

Platform Features

Binary Trading

NEXT_PUBLIC_BINARY_STATUS="true" NEXT_PUBLIC_BINARY_PRACTICE_STATUS="true"

Enable binary trading feature and practice mode.

Blog System

NEXT_PUBLIC_BLOG_STATUS="true"

Enable blog/news system for your platform.

Restart Development Server

Apply Configuration Changes

After making changes to your environment variables, restart the development server to apply the changes:

Important

Environment variable changes require a server restart to take effect.

1. Stop the current server

Press Ctrl + C in your terminal

2. Start the development server

pnpm dev

This will restart both frontend and backend with your new configuration.