- Create comprehensive project structure (29 directories) - Add CLAUDE.md with project context and conventions - Add package.json with dependencies and scripts - Add .gitignore and .env.example - Add README.md with project overview - Configure ports: MongoDB 27017, Application 9000 - Establish Tractatus governance framework baseline - Document Te Tiriti approach and indigenous perspective - Set up infrastructure for Phase 1 implementation Project Status: Development - Phase 1 Foundation Complete Next: MongoDB instance setup and systemd service configuration
33 lines
617 B
Text
33 lines
617 B
Text
# Application
|
|
NODE_ENV=development
|
|
PORT=9000
|
|
APP_NAME=Tractatus
|
|
|
|
# MongoDB
|
|
MONGODB_URI=mongodb://localhost:27017/tractatus_dev
|
|
MONGODB_PORT=27017
|
|
MONGODB_DB=tractatus_dev
|
|
|
|
# JWT Authentication
|
|
JWT_SECRET=generate_a_secure_random_secret_key_here
|
|
JWT_EXPIRY=7d
|
|
|
|
# Admin
|
|
ADMIN_EMAIL=john.stroh.nz@pm.me
|
|
|
|
# Claude API (Phase 2+)
|
|
# CLAUDE_API_KEY=your_anthropic_api_key_here
|
|
# CLAUDE_MODEL=claude-sonnet-4-5
|
|
|
|
# Logging
|
|
LOG_LEVEL=info
|
|
LOG_FILE=logs/app.log
|
|
|
|
# Feature Flags
|
|
ENABLE_AI_CURATION=false
|
|
ENABLE_MEDIA_TRIAGE=false
|
|
ENABLE_CASE_SUBMISSIONS=false
|
|
|
|
# Security
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|