Skip to content

Commit

Permalink
chore: update mapbox api key environment var example
Browse files Browse the repository at this point in the history
  • Loading branch information
quytranDF committed Sep 21, 2024
1 parent a95f419 commit 001d392
Showing 1 changed file with 50 additions and 47 deletions.
97 changes: 50 additions & 47 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,47 +1,50 @@
# development | production
NODE_ENV=development

PORT=3000

API_VERSION=v1.0.0

# Examples: all, ["error", "info", "log", "migration", "query", "schema", "warn"]
SYSTEM_LOG_INFO=all

# JWT Authentication Strategy
JWT_SECRET=e267edf0f1a4a62d496a6738aed12266fd1f17136f1d019c88b57e5439855307458b0a2652a5bb6246f636ff265ad2be7c193d155ce46df6e7287de143b2f55b
JWT_EXPIRES_IN=1d

# TypeORM config
TYPEORM_HOST=localhost
TYPEORM_PORT=5432
TYPEORM_USERNAME=postgres
TYPEORM_PASSWORD=postgres
TYPEORM_DATABASE=MapSorter

# Google OAuth2
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL=

# Cloudinary
CLOUDINARY_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=

# Local Storage
STORAGE_TYPE=local
LOCAL_STORAGE_PATH=/uploads/media
LIMIT_FILE_UPLOAD=10
MAX_FILE_SIZE=5242880 # 5mb

# Google Maps API
GOOGLE_MAPS_API_KEY=

# Sentry
SENTRY_DSN=

# Discord bot
DISCORD_WEBHOOK=
DISCORD_BOT_NAME=
DISCORD_BOT_AVATAR_URL=
# development | production
NODE_ENV=development

PORT=3000

API_VERSION=v1.0.0

# Examples: all, ["error", "info", "log", "migration", "query", "schema", "warn"]
SYSTEM_LOG_INFO=all

# JWT Authentication Strategy
JWT_SECRET=e267edf0f1a4a62d496a6738aed12266fd1f17136f1d019c88b57e5439855307458b0a2652a5bb6246f636ff265ad2be7c193d155ce46df6e7287de143b2f55b
JWT_EXPIRES_IN=1d

# TypeORM config
TYPEORM_HOST=localhost
TYPEORM_PORT=5432
TYPEORM_USERNAME=postgres
TYPEORM_PASSWORD=postgres
TYPEORM_DATABASE=MapSorter

# Google OAuth2
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL=

# Cloudinary
CLOUDINARY_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=

# Local Storage
STORAGE_TYPE=local
LOCAL_STORAGE_PATH=/uploads/media
LIMIT_FILE_UPLOAD=10
MAX_FILE_SIZE=5242880 # 5mb

# Google Maps API
GOOGLE_MAPS_API_KEY=

# MapBox API
MAPBOX_TOKEN=

# Sentry
SENTRY_DSN=

# Discord bot
DISCORD_WEBHOOK=
DISCORD_BOT_NAME=
DISCORD_BOT_AVATAR_URL=

0 comments on commit 001d392

Please sign in to comment.