-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (35 loc) · 963 Bytes
/
.env.example
File metadata and controls
42 lines (35 loc) · 963 Bytes
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
39
40
41
42
# Application Configuration
API_DOCUMENTATION=true
PORT=8001
# Database Configuration
DATABASE_DIALECT=mysql
DATABASE_HOST=localhost
DATABASE_PORT=3306
DATABASE_USER=root
DATABASE_PASS=your_database_password
DATABASE_NAME=nest-sequelize-auditor-example
# JWT Configuration (if needed)
JWT_KEY=random_secret_key
JWT_TOKEN_EXPIRATION=133600s
# Mail Configuration (optional)
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_FROM_EMAIL=noreply@example.com
MAIL_FROM_NAME=NestJS Auditor Example
# Third-party API Keys (optional)
# THIRD_PARTY_API_KEY=
# Development Settings
NODE_ENV=development
# Alternative Database Configurations (commented out)
# For PostgreSQL:
# DATABASE_DIALECT=postgres
# DATABASE_HOST=localhost
# DATABASE_PORT=5432
# DATABASE_USER=postgres
# DATABASE_PASS=your_postgres_password
# DATABASE_NAME=nest-sequelize-auditor-example
# For SQLite (testing only):
# DATABASE_DIALECT=sqlite
# DATABASE_NAME=:memory: