initial wcag-ada
This commit is contained in:
parent
042b8cb83a
commit
d52cfe7de2
112 changed files with 9069 additions and 0 deletions
61
apps/wcag-ada/.env.example
Normal file
61
apps/wcag-ada/.env.example
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# Application Environment
|
||||
NODE_ENV=development
|
||||
APP_NAME=wcag-ada
|
||||
|
||||
# API Configuration
|
||||
API_PORT=3001
|
||||
API_CORS_ORIGIN=http://localhost:5173
|
||||
API_JWT_SECRET=your-super-secret-jwt-key-change-in-production
|
||||
API_JWT_EXPIRES_IN=7d
|
||||
API_RATE_LIMIT=100
|
||||
API_RATE_WINDOW=60000
|
||||
|
||||
# Worker Configuration
|
||||
WORKER_PORT=3002
|
||||
WORKER_CONCURRENCY=5
|
||||
WORKER_QUEUE_NAME=accessibility-scans
|
||||
|
||||
# Database Configuration
|
||||
DATABASE_URL=postgresql://user:password@localhost:5432/wcag_ada
|
||||
|
||||
# Redis Configuration
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=
|
||||
REDIS_DB=0
|
||||
|
||||
# Scanner Configuration
|
||||
SCANNER_HEADLESS=true
|
||||
SCANNER_TIMEOUT=30000
|
||||
SCANNER_VIEWPORT_WIDTH=1920
|
||||
SCANNER_VIEWPORT_HEIGHT=1080
|
||||
SCANNER_BLOCK_RESOURCES=true
|
||||
SCANNER_BLOCK_PATTERNS=font,image
|
||||
|
||||
# Features
|
||||
FEATURES_SCREENSHOTS=true
|
||||
FEATURES_FIX_SUGGESTIONS=true
|
||||
FEATURES_CUSTOM_RULES=true
|
||||
FEATURES_SCHEDULED_SCANS=true
|
||||
FEATURES_BULK_SCANNING=false
|
||||
FEATURES_API_ACCESS=true
|
||||
|
||||
# Third-party Services (optional)
|
||||
SMTP_HOST=
|
||||
SMTP_PORT=587
|
||||
SMTP_USER=
|
||||
SMTP_PASS=
|
||||
SMTP_FROM=noreply@wcag-ada.com
|
||||
|
||||
SLACK_WEBHOOK_URL=
|
||||
SLACK_CHANNEL=#wcag-alerts
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=info
|
||||
LOG_FORMAT=json
|
||||
|
||||
# Scheduler
|
||||
SCHEDULER_TIMEZONE=America/New_York
|
||||
SCHEDULER_MAX_CONCURRENT_SCANS=3
|
||||
SCHEDULER_RETRY_ATTEMPTS=3
|
||||
SCHEDULER_RETRY_DELAY=5000
|
||||
Loading…
Add table
Add a link
Reference in a new issue