Required configs
Name | Value | Desc | Required |
---|---|---|---|
NEXT_PUBLIC_FE_GATEWAY | http://localhost:4200/ | Frontend url | ✔️ |
NEXT_PUBLIC_BE_GATEWAY | http://localhost:3333/ | Backend api url | ✔️ |
NEXT_PUBLIC_APP_NAME | Namviek Dev | App name | ✔️ |
MONGODB_URL | MongoDB URI | Database uri | ✔️ |
JWT_SECRET_KEY | 12GUY3N76U21d4IJ | Secret key | ✔️ |
JWT_REFRESH_KEY | 7us9s88o121ieeuo | Refresh key | ✔️ |
JWT_VERIFY_USER_LINK_TOKEN_EXPIRED | 1h | Expired time | ✔️ |
JWT_TOKEN_EXPIRED | 30m | Expired time | ✔️ |
JWT_REFRESH_EXPIRED | 4h | Expired time | ✔️ |
REDIS_HOST | Redis host | ✔️ |
Configure Email notification and Storage
Name | Value | Desc | Required |
---|---|---|---|
RESEND_TOKEN | Token for sending email. Visit: https://resend.com | ||
RESEND_EMAIL_DOMAIN | namviek.com | Email Domain |
Configure Push notification using Pusher.js
Name | Value | Desc | Required |
---|---|---|---|
NEXT_PUBLIC_PUSHER_INSTANCE_ID | Pusher beam instance id | ||
PUSHER_INSTANCE_ID | Pusher beam instance id | ||
PUSHER_SECRET_KEY | Pusher beam secret key | ||
NEXT_PUBLIC_PUSHER_CHANNEL_APP_KEY | Push channel app key | ||
NEXT_PUBLIC_PUSHER_CHANNEL_APP_CLUSTER | ap1 | Pusher channel app cluster | |
PUSHER_CHANNEL_APP_ID | Pusher channel app id | ||
PUSHER_CHANNEL_SECRET | Pusher channel secret |
Configure log server
Name | Value | Desc | Required |
---|---|---|---|
LOGTAIL_SOURCE_TOKEN | Visit Logtail | Logtail source token |