ÉLAN is a full-stack study workspace for IELTS and DELF/DALF practice. The browser provides bundled study material and stores personal study progress locally. The API manages authenticated profiles, published content, and optional Gemini features.
Exam preparation often spreads practice material, review schedules, and feedback across several tools. ÉLAN brings them together in a single workspace with exam-specific practice and a repeatable review routine.
- Reading, Listening, Writing, and Speaking practice, plus a four-skill simulation.
- Models and vocabulary resources, Lumi study assistance, YouTube embeds, and curated news.
- Flashcards with spaced repetition, notes, study schedules, achievement indicators, and exam history.
- Google sign-in through Firebase and an administrative publishing workflow.
- Optional Gemini feedback and practice for signed-in learners.
| Dashboard | Flashcards |
|---|---|
![]() |
![]() |
| Models | Simulation |
|---|---|
![]() |
![]() |
React, Vite, Tailwind CSS, React Router, Firebase Authentication, Node.js, Express, Mongoose, MongoDB, Google Gen AI SDK, AJV, Docker Compose, Terraform, and GitHub Actions.
Vite builds the React SPA. Firebase signs users in and issues ID tokens that Express verifies for private operations. MongoDB stores profiles, API flashcards, and curated content. Study history, notes, schedules, and the flashcard screen use browser storage. System diagram · Technical documentation
The backend applies versioned IELTS and DELF prompts, validates structured output, and limits request size, concurrency, output tokens, and attempts. The practice score is an estimate. Speaking feedback uses transcripts. AI harness
Sign in and open /admin with a Firebase account granted the admin claim. Admins can preview exercises and models, save and edit drafts, review content, and publish or unpublish it. Role setup and workflow
The proposed environment uses Firebase Hosting for the SPA, Cloud Run for Express, Artifact Registry for images, Secret Manager for credentials, and Cloud Logging and Monitoring. MongoDB Atlas is the external database. GCP design
The dev, staging, and production roots share one module. Validation runs without a remote backend. Terraform guide
Clone NxcolasDev/Elanv2 and use Node.js 24 with npm. Copy backend/.env.example and frontend/.env.example to .env in their respective folders. Configure Firebase on both sides and start MongoDB.
npm ci --prefix backend
npm ci --prefix frontend
docker compose up -d mongo
npm run dev --prefix backend
# In a separate terminal:
npm run dev --prefix frontendOpen http://localhost:5173. The API lives at http://localhost:5000 and exposes /api/health and /api/ready.
Compose starts MongoDB with a named volume. Mongo Express is available on the local loopback at port 8081. The optional api profile runs Express in a container with a read-only ADC file specified through ELAN_ADC_FILE. Use docker compose --profile api up --build after setting that path and backend/.env. Container and database details
| Scope | Variables |
|---|---|
| Backend | PORT, MONGO_URI, CORS_ORIGIN, NODE_ENV, FIREBASE_PROJECT_ID |
| Local authentication | Application Default Credentials, optionally pointed to by GOOGLE_APPLICATION_CREDENTIALS |
| AI | GEMINI_API_KEY, GEMINI_MODEL, AI_CONCURRENCY, AI_DAILY_ATTEMPTS |
| Frontend | VITE_API_BASE_URL and public VITE_FIREBASE_* configuration |
See the commented backend template and frontend template. Leave the backend Gemini key empty for local study without remote AI.
npm run check --prefix backend
npm test --prefix backend
npm run lint --prefix frontend
npm test --prefix frontend
npm run build --prefix frontend
docker compose config --quiet
terraform fmt -check -recursive infra/terraformThe backend suite tests the official SDK against a local mock server and supports an isolated MongoDB integration test. Testing guide
Access control uses Firebase identities and per-user database filters. Administrative routes also check token revocation. Keep backend credentials out of Git, Vite variables, and container layers. Security documentation and historical key finding
The verification workflow runs lint, tests, build, dependency audits, Docker, and Terraform. The manual backend release workflow requires a repository flag, the default branch, a configured environment, and Workload Identity Federation. Free demo deployment · Future GCP deployment · Visual prompts
- Validate Gemini feedback against an educator-reviewed dataset in both languages.
- Expand curated question banks and align practice scores with exam rubrics.
- Add cross-device study sync with a migration for browser data.
- Revisit the Electron preparation after the web release is stable.
Cloud infrastructure designed and implemented as code, but not deployed to GCP due to cost considerations.
Engineering audit · Project structure · Architecture decisions · API reference
Nicolas Silva




