Incomplete environment variables will result in service unavailability. Please go to supplement
Development Env · Production Env
NODE_PORT
:Service port, default4800
DB_NAME
:MySQL database name, defaulttest
DB_HOST
:MySQL database host, defaultlocalhost
DB_PORT
:MySQL database port, default3306
DB_USER
:MySQL database user, defaultroot
DB_PASSWORD
:MySQL database password, default123456
ACCESS_TOKEN_SECRET_KEY
:Access token secret keyREFRESH_TOKEN_SECRET_KEY
:Refresh token secret keyACCESS_TOKEN_EXPIRES_IN
:Access token expiration time, default1小时
REFRESH_TOKEN_EXPIRES_IN
:Refresh token expiration time, default7天
SMS_APP_ID
:Tencent Cloud SMS Application IDSMS_SIGN_NAME
:Tencent Cloud SMS Signature ContentSMS_TEMPLATE_ID
:Tencent Cloud SMS Template IDSMS_SECRET_ID
:Tencent Cloud SMS SecretIdSMS_SECRET_KEY
:Tencent Cloud SMS SecretKeySMS_REGION
:Tencent Cloud SMS Region
$ yarn
$ yarn dev
$ yarn
$ yarn prd