1.4 KiB
1.4 KiB
Atlas Green Morocco
Interactive grant strategy platform for building renewable energy and green hydrogen businesses in Morocco — deployed at https://grants.degelas.be.
Layout
grants/
├── src/ # React + Vite frontend (single-file SPA)
│ ├── components/ # UI sections (Hero, Position, Grants, Studio, Vault, …)
│ ├── data/ # Grant programs, zones, markets, deployment phases
│ ├── i18n/ # Trilingual strings (EN / FR / Darija)
│ └── lib/ # Analytics, Degelas API, AI, vault, profile
├── server/ # Express API proxy (AI generation, vault persistence)
├── index.html # Entry point with Umami analytics snippet
├── Dockerfile # Multi-stage: frontend-builder → nginx / api-builder → node
└── docker-compose.yml # Frontend (:8081) + API server (:3001)
What's NOT in this repo
.env— API keys for OpenAI, Degelas, etc. (see.env.example)node_modules/,dist/,dist-server/,generated_docs/
Deploy
docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
The API server proxies AI (OpenAI-compatible) and Degelas metrics requests. The frontend is served by nginx on port 8081.
Admin
- Backend health:
https://grants.degelas.be/api/health - Umami analytics: https://analytics.degelas.be (website id for grants.degelas.be)