- The Input/Ingestion (Portal) URL: /portal Functionality: Users can upload a PDF (mock) and enter a company name. AI Agent: A mock AI engine analyzes the document after a 2-second delay, generating a score and analysis.
- Assessor Review URL: /assessor Functionality: Assessors see pending reports. They can review the AI's analysis and override the score with a human-verified score.
- The Verdict (ESG Committee) URL: /committee Functionality: The committee reviews the verified report and awards a Tier (Gold, Silver, Bronze). This action finalizes the report.
- Public Dashboard URL: / (Home) Functionality: Displays all "Finalized" reports with their badges. This is the transparency layer for investors/public.
- Full Report URL: /report/[id] Functionality: Detailed view of the report, including AI findings, human score, and tier.
- The Overseer (Admin) URL: /admin Functionality: A table view of all reports in the system, showing their current status and scores.
No real database: The application will use React Context and Local Storage to simulate a database. AI Engine: The "AI Agent" will be a mock function returning random scores and analysis.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.