-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.template
38 lines (26 loc) · 854 Bytes
/
.env.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# The port where the application will run
PORT=3000
# MongoDB database connection URI
DB_URI=
# Global prefix for API routes
GLOBAL_PREFIX=api
# Secret key for generating JSON Web Tokens (JWT) for access
JWT_ACCESS_SECRET=secret
# Secret key for generating JWT during refresh
JWT_REFRESH_SECRET=secret
# Token expiration time for access tokens (e.g., "15m" means 15 minutes)
EXPIRES_IN=15m
# Time limit for refreshing tokens (e.g., "1d" means 1 day)
REFRESH_TIME=1d
# Time to live (TTL) for request throttling in seconds
THROTTLE_TTL=60
# Maximum number of requests allowed during the TTL period
THROTTLE_LIMIT=10
# Application's allowed origin URL
ORIGIN=http://localhost:3000
# Cloudinary name
CLOUD_NAME=asddss
# Cloudinary Api Key, You can grab it all from their website.
CLOUDINARY_API_KEY=
# Cloudinary Api Secret
CLOUDINARY_API_SECRET=