@ecopex/ecopex-framework 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/libraries/fastify.js +2 -1
- package/package.json +2 -2
- package/env.example +0 -73
package/libraries/fastify.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecopex/ecopex-framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Javascript Framework for API and Admin Panel",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "pm2 start ecosystem.config.js",
|
|
8
8
|
"restart": "pm2 restart ecosystem.config.js",
|
package/env.example
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# ===========================================
|
|
2
|
-
# SB System Environment Configuration
|
|
3
|
-
# ===========================================
|
|
4
|
-
|
|
5
|
-
# Application Environment
|
|
6
|
-
NODE_ENV=development
|
|
7
|
-
LOG_LEVEL=info
|
|
8
|
-
|
|
9
|
-
# Server Configuration
|
|
10
|
-
HOST=0.0.0.0
|
|
11
|
-
API_PORT=3000
|
|
12
|
-
ADMIN_PORT=3001
|
|
13
|
-
|
|
14
|
-
# Database Configuration
|
|
15
|
-
DB_HOST=localhost
|
|
16
|
-
DB_PORT=3306
|
|
17
|
-
DB_USER=root
|
|
18
|
-
DB_PASSWORD=your_password_here
|
|
19
|
-
DB_NAME=sb_system
|
|
20
|
-
|
|
21
|
-
# Alternative: Use DATABASE_URL for production
|
|
22
|
-
# DATABASE_URL=mysql://username:password@host:port/database
|
|
23
|
-
|
|
24
|
-
# CORS Configuration
|
|
25
|
-
CORS_ORIGIN=*
|
|
26
|
-
|
|
27
|
-
# PM2 Process Management
|
|
28
|
-
API_INSTANCES=1
|
|
29
|
-
API_EXEC_MODE=fork
|
|
30
|
-
ADMIN_INSTANCES=1
|
|
31
|
-
ADMIN_EXEC_MODE=fork
|
|
32
|
-
|
|
33
|
-
# Internationalization
|
|
34
|
-
DEFAULT_LOCALE=en
|
|
35
|
-
SUPPORTED_LOCALES=en,tr,es
|
|
36
|
-
|
|
37
|
-
# Security (for production)
|
|
38
|
-
# JWT_SECRET=your_jwt_secret_here
|
|
39
|
-
# BCRYPT_ROUNDS=12
|
|
40
|
-
# SESSION_SECRET=your_session_secret_here
|
|
41
|
-
|
|
42
|
-
# Redis (for caching/sessions)
|
|
43
|
-
# REDIS_HOST=localhost
|
|
44
|
-
# REDIS_PORT=6379
|
|
45
|
-
# REDIS_PASSWORD=
|
|
46
|
-
|
|
47
|
-
# Email Configuration (for notifications)
|
|
48
|
-
# SMTP_HOST=smtp.gmail.com
|
|
49
|
-
# SMTP_PORT=587
|
|
50
|
-
# SMTP_USER=your_email@gmail.com
|
|
51
|
-
# SMTP_PASS=your_app_password
|
|
52
|
-
# FROM_EMAIL=noreply@yoursystem.com
|
|
53
|
-
|
|
54
|
-
# File Upload Configuration
|
|
55
|
-
# UPLOAD_MAX_SIZE=10485760
|
|
56
|
-
# UPLOAD_ALLOWED_TYPES=image/jpeg,image/png,image/gif,application/pdf
|
|
57
|
-
|
|
58
|
-
# Rate Limiting
|
|
59
|
-
# RATE_LIMIT_WINDOW_MS=900000
|
|
60
|
-
# RATE_LIMIT_MAX_REQUESTS=100
|
|
61
|
-
|
|
62
|
-
# Logging
|
|
63
|
-
# LOG_FILE_PATH=./logs/app.log
|
|
64
|
-
# LOG_MAX_SIZE=10m
|
|
65
|
-
# LOG_MAX_FILES=5
|
|
66
|
-
|
|
67
|
-
# Monitoring
|
|
68
|
-
# HEALTH_CHECK_INTERVAL=30000
|
|
69
|
-
# METRICS_ENABLED=true
|
|
70
|
-
|
|
71
|
-
# Development Tools
|
|
72
|
-
# DEBUG=sb_system:*
|
|
73
|
-
# NODE_OPTIONS=--max-old-space-size=4096
|