Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
NODE_ENV=development
PORT=3000
DB_HOST=localhost
DB_PORT=5432
DB_NAME=treeo2
DB_USER=treeo2_user
DB_PASSWORD=treeo2_password
DATABASE_URL=postgresql://treeo2_user:treeo2_password@localhost:5432/treeo2?schema=public
JWT_SECRET=test-secret-key-minimum-32-characters-long
JWT_EXPIRES_IN=24h
AUTH_DEV_MODE=false
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX=100
LOG_TO_FILE=false
14 changes: 14 additions & 0 deletions .env.test.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
NODE_ENV=development
PORT=3000
DB_HOST=localhost
DB_PORT=5432
DB_NAME=your-db-name
DB_USER=your-db-user
DB_PASSWORD=your-db-password
DATABASE_URL=postgresql://your-db-user:your-db-password@localhost:5432/your-db-name?schema=public
JWT_SECRET=your-test-secret-key-minimum-32-characters-long
JWT_EXPIRES_IN=24h
AUTH_DEV_MODE=false
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX=100
LOG_TO_FILE=false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ dist/
logs/
coverage/
.DS_Store
!.env.test.example
Loading