API: Phoenix railing proxy, API key auth for /api/v1/*, schema export, docs, migrations, tests
- Phoenix API Railing: proxy to PHOENIX_RAILING_URL, tenant me routes - Tenant-auth: X-API-Key support for /api/v1/* (api_keys table) - Migration 026: api_keys table; 025 sovereign stack marketplace - GET /graphql/schema, GET /graphql-playground, api/docs OpenAPI - Integration tests: phoenix-railing.test.ts - docs/api/API_VERSIONING: /api/v1/ railing alignment - docs/phoenix/PORTAL_RAILING_WIRING Made-with: Cursor
This commit is contained in:
25
api/.env.example
Normal file
25
api/.env.example
Normal file
@@ -0,0 +1,25 @@
|
||||
# Database Configuration
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_NAME=sankofa
|
||||
DB_USER=postgres
|
||||
# For development: minimum 8 characters
|
||||
# For production: minimum 32 characters with uppercase, lowercase, numbers, and special characters
|
||||
DB_PASSWORD=your_secure_password_here
|
||||
|
||||
# Application Configuration
|
||||
NODE_ENV=development
|
||||
PORT=4000
|
||||
|
||||
# Keycloak Configuration (for Identity Service)
|
||||
KEYCLOAK_URL=http://localhost:8080
|
||||
KEYCLOAK_REALM=master
|
||||
KEYCLOAK_CLIENT_ID=sankofa-api
|
||||
KEYCLOAK_CLIENT_SECRET=your_keycloak_client_secret
|
||||
|
||||
# JWT Configuration
|
||||
# For production: minimum 64 characters
|
||||
JWT_SECRET=your_jwt_secret_here_minimum_64_chars_for_production
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=info
|
||||
Reference in New Issue
Block a user