-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
50 lines (42 loc) · 1.33 KB
/
Copy pathenv.example
File metadata and controls
50 lines (42 loc) · 1.33 KB
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
43
44
45
46
47
48
49
50
# InvoiceZen Environment Variables Example
# Copy this file to .env and update with your actual values
# Database Configuration
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_NAME=invoicezen_db
DATABASE_USERNAME=postgres
DATABASE_PASSWORD=your_password
DATABASE_TYPE=postgresql
DATABASE_DIALECT=org.hibernate.dialect.PostgreSQLDialect
# Server Configuration
PORT=8080
SERVER_SERVLET_CONTEXT_PATH=/
# Mail Configuration (Gmail Example)
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=your-email@gmail.com
MAIL_PASSWORD=your-app-password
MAIL_FROM=your-email@gmail.com
# Application Configuration
APP_NAME=InvoiceZen
APP_DESCRIPTION=Professional GST Invoice Generator
APP_VERSION=1.0.0
APP_ENVIRONMENT=development
APP_STATUS=active
# JPA/Hibernate Configuration
JPA_SHOW_SQL=false
JPA_HIBERNATE_DDL_AUTO=update
# Logging Configuration
LOGGING_LEVEL=INFO
# CORS
CORS_ENABLED=true
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8080,http://127.0.0.1:3000,http://127.0.0.1:8080,http://localhost:4200
CORS_ALLOWED_METHODS=GET,POST,PUT,DELETE,PATCH,OPTIONS
CORS_ALLOWED_HEADERS=*
CORS_EXPOSED_HEADERS=Authorization,Content-Type,X-Rate-Limit-Remaining,X-Rate-Limit-Retry-After-Seconds
CORS_ALLOW_CREDENTIALS=true
CORS_MAX_AGE=3600
# Rate limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_REQUESTS_MINUTES=100
RATE_LIMIT_REQUESTS_HOURS=5000