Architecture

AIERA Pro stack foundation

This project is structured so the new ERP can grow cleanly while the legacy HTML dashboard remains untouched.

1

Frontend

Next.js App Router frontend with module pages, dashboards, forms, and PWA-friendly static deployment.

2

Application Backend

Supabase handles auth, Postgres, storage, realtime, and future edge-function API routes.

3

ERP Data Core

Structured transaction tables hold companies, users, customers, routes, commercial flows, and approval trails.

4

AI Layer

Module agents can later read clean operational data and report upward to the AIERA executive layer.