initialize git, basic setup for crm
This commit is contained in:
34
.env.example
Normal file
34
.env.example
Normal file
@@ -0,0 +1,34 @@
|
||||
PORT=5000
|
||||
NODE_ENV=development
|
||||
|
||||
# Database Configuration
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_USER=admin
|
||||
DB_PASSWORD=heslo123
|
||||
DB_NAME=crm
|
||||
|
||||
# JWT Configuration
|
||||
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
||||
JWT_EXPIRES_IN=1h
|
||||
JWT_REFRESH_SECRET=your-super-secret-refresh-key-change-this-in-production
|
||||
JWT_REFRESH_EXPIRES_IN=7d
|
||||
|
||||
# Better Auth Configuration
|
||||
BETTER_AUTH_SECRET=your-super-secret-better-auth-key-change-this-in-production
|
||||
BETTER_AUTH_URL=http://localhost:5000
|
||||
|
||||
# JMAP Email Configuration
|
||||
JMAP_SERVER=https://mail.truemail.sk/jmap/
|
||||
JMAP_USERNAME=info1_test@truemail.sk
|
||||
JMAP_PASSWORD=info1
|
||||
JMAP_ACCOUNT_ID=ba
|
||||
|
||||
# Security
|
||||
BCRYPT_ROUNDS=12
|
||||
RATE_LIMIT_WINDOW_MS=900000
|
||||
RATE_LIMIT_MAX_REQUESTS=100
|
||||
RATE_LIMIT_LOGIN_MAX=5
|
||||
|
||||
# CORS
|
||||
CORS_ORIGIN=http://localhost:3000
|
||||
Reference in New Issue
Block a user