Backend: - New models: Update, Article (Deaf Focus) - Expanded Event + Document models: directusId, photoUrl, new minute types - New routes/controllers: /api/updates, /api/articles (full CRUD) - Migration script: pulls all data from db.lad1908.org Directus API, downloads public PDFs into uploads/documents/, idempotent re-runs - .env.example for production deployment reference - Rename ocd_db → lad_db throughout Frontend: - Contact: LAD contact info, removed Olathe address and map - Membership: LAD copy, membership fees replaced with contact-us prompt - Donate: LAD name in metadata, hero, and FAQs Infrastructure: - mongo-init: simplified, uses MONGO_USER/MONGO_PASSWORD env vars, lad_db - docker-compose: rename volumes ocd-* → lad-*, image names updated - Upload directory structure committed via .gitkeep files
17 lines
284 B
Text
17 lines
284 B
Text
PORT=4000
|
|
NODE_ENV=production
|
|
|
|
MONGO_HOST=mongodb
|
|
MONGO_PORT=27017
|
|
MONGO_DB=lad_db
|
|
MONGO_USER=lad_admin
|
|
MONGO_PASSWORD=changeme
|
|
|
|
CORS_ORIGIN=https://lad.sigd.net
|
|
|
|
JWT_SECRET=changeme-use-a-long-random-string
|
|
JWT_EXPIRES_IN=7d
|
|
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=changeme
|