Skip to content

Commit 5b79526

Browse files
committed
fix: add .env.example
1 parent d4dadf5 commit 5b79526

5 files changed

Lines changed: 25223 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ coverage
88
.nyc_output
99
*.log
1010
dist
11-
yarn.lock
11+
yarn.lock
12+
.env

template/nestJs/.env.example

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
DATABASE_HOST = 'localhost'
2+
DATABASE_PORT = 3306
3+
DATABASE_USERNAME = 'root'
4+
DATABASE_PASSWORD = 'root'
5+
DATABASE_NAME = 'demo_tiny_pro'
6+
DATABASE_SYNCHRONIZE = true
7+
DATABASE_AUTOLOADENTITIES = true
8+
AUTH_SECRET = 'secret'
9+
REDIS_SECONDS = 7200
10+
REDIS_HOST = 'localhost'
11+
REDIS_PORT = 6379
12+
EXPIRES_IN = '2h'
13+
PAGINATION_PAGE = 1
14+
PAGINATION_LIMIT = 10

0 commit comments

Comments
 (0)