Architecture map, module catalog, routes, i18n boundaries, and integration surfaces.
frontend/: React 18 + Vite + Tailwind CSS single-page application.backend/: ASP.NET Core Web API (.NET 8) with JWT authentication and MongoDB repositories.database/: MongoDB initialization and seed support for local dockerized environments.automation/: quality tooling, including applied-ai-aura functional automation.| Module | Purpose | Tech |
|---|---|---|
frontend-public | Public web flows and privacy/terms informational pages | React, Router, i18next |
frontend-admin | JWT-protected administration console | React, protected routes |
backend-api | REST API for auth and business operations | ASP.NET Core, JWT, MongoDB |
automation-aura | Functional automation scenarios and reporting | TypeScript, Cucumber |
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/login | Admin/user login, returns JWT. |
| POST | /api/creditrequests | Public credit request creation. |
| GET/PATCH | /api/creditrequests/{id} | Admin read and status transition (approve/reject). |
| GET/POST/PUT/DELETE | /api/credittypes | Public read, admin CRUD of the credit product catalog. |
| GET/POST/PUT/DELETE | /api/services | Public read, admin CRUD of marketing service cards. |
| CRUD | /api/users | Admin-only user management, including password changes. |
| CRUD | /api/contactmessages | Public intake, admin triage/response workflow. |
| GET | /api/dashboard/* | Aggregated KPIs and status distribution for the admin dashboard. |
| GET | /api/health, /api/backup/* | Health telemetry and downloadable backups. |
Pending; admin approves (sets approved amount/term, defaults to requested values) or rejects (with remarks).Admin and SuperAdmin guard virtually all administrative endpoints; self-registered accounts default to role User with no elevated access.New → InProgress → Replied → Closed.role claim.User: Email, PasswordHash, FullName, Role, IsActive, LastLogin.CreditType: Name, Description, BaseInterestRate, MinAmount, MaxAmount, MinTermMonths, MaxTermMonths, IsActive.CreditRequest: personal data, financial data, credit details (amount/term/rate/payment), and status metadata (Pending/Approved/Rejected, dates, remarks).Service: Title, Description, Icon, DisplayOrder, IsActive.ContactMessage: Name, Email, Subject, Message, Status, response/close audit fields, AdminNotes.→ Full schema, indexes, and seed strategy in the database page
automation/src/features/*.feature; step definitions: automation/src/steps/*.steps.ts plus shared common/preview steps from @sai/applied-ai-aura.npm test (full run), with tag-scoped variants test:smoke / test:regression; JSON report written to reports/cucumber-report.json.en, es, and pt.tco-user-language.docs/index.html: documentation hub.docs/modules/frontend-public/index.html: public frontend details.docs/modules/frontend-admin/index.html: admin frontend details.docs/modules/backend-api/index.html: backend API details.docs/modules/automation-aura/index.html: functional automation module details.docs/database.html: MongoDB model, indexes, seed strategy, and local reset workflow.docs/qa-coverage.html: QA pipeline stages, unit coverage flow, and test report locations.