Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Alejandrin08/Hackathon-SPEI/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you start, make sure you have the following installed:Docker & Docker Compose
Required to run all backend microservices and the SQL Server database.
Node.js 18+
Required to run the React frontend.
Python 3.9+
Required to run the AI service locally.
Git
Required to clone the repository.
Setup
Create the backend environment file
The backend services are configured via a Then add the following variables:
.env file in the backend/ directory. Create it before starting Docker Compose.backend/.env
Start all backend services
From the Docker Compose will start the following services:
backend/ directory, build and start every service with a single command:| Service | Port | Description |
|---|---|---|
ocelot-gateway | 5000 | API Gateway — all client traffic enters here |
authprofileservice | — | Auth & Profile microservice |
ledgerservice | — | Ledger microservice |
openfinanceservice | — | Open Finance microservice |
analyticsservice | 7002 | Analytics microservice |
sql-server-db | 1433 | SQL Server 2022 database |
The first build downloads .NET SDK images and restores NuGet packages, which can take several minutes. Subsequent starts are faster.
Start the AI service
The AI service is a Python FastAPI application that runs separately from Docker Compose. Open a new terminal and run:The AI service will be available at
http://localhost:8001. It exposes three endpoints: /ai/nudge, /ai/accessibility, and /ai/risk.Start the frontend
First use walkthrough
Once all services are running, follow these steps to explore the core features:Register an account
Open http://localhost:5173 and click Sign up. Fill in your name, email, and a password to create your account. The frontend calls
POST /api/auth/register through the Ocelot gateway.Complete the accessibility wizard
After registration, B-Accesible launches the accessibility wizard. The wizard collects behavioral signals and calls
/ai/accessibility to recommend a personalized accessibility profile — adjusting font size, contrast, and interaction modes. Complete the wizard to apply your profile.Verify the stack is healthy
You can check that each service is reachable using the gateway:The AI service ships with a Swagger UI at
http://localhost:8001/docs where you can explore and test all three ML endpoints interactively.Next steps
Architecture overview
Learn how the microservices, gateway, and AI layer fit together.
Accessibility features
Explore the accessibility profile system and wizard in depth.
AI nudging
Understand how behavioral signals drive real-time accessibility adjustments.
API reference
Browse all available API endpoints.
