new file: .env.example new file: Dockerfile modified: backend/.env.example modified: backend/package.json renamed: backend/src/migrations/run.ts -> backend/src/scripts/run.ts renamed: backend/src/migrations/seed.ts -> backend/src/scripts/seed.ts new file: docker-compose.external-db.yml new file: docker-compose.yml
18 lines
378 B
Plaintext
18 lines
378 B
Plaintext
# Server Configuration
|
|
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# Main Database (PostgreSQL - for storing API configurations)
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_NAME=api_builder
|
|
DB_USER=postgres
|
|
DB_PASSWORD=postgres
|
|
|
|
# JWT Secret
|
|
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
|
JWT_EXPIRES_IN=24h
|
|
|
|
# API Rate Limiting
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100 |