The **frontend** is built using **React** and consumes REST APIs exposed by the FastAPI backend. It serves as the user interface for screens, chatbot interactions, and employee views.
-
### π Repository Structure
+
### Repository Structure
```bash
/repo
@@ 91,7 91,7 @@
---
-
### π§βπΌ **employees**
+
### **employees**
```sql
CREATE TABLE employees (
@@ 112,7 112,7 @@
---
-
### π¬ Messages
+
### Messages
```sql
CREATE EXTENSION IF NOT EXISTS vector;
@@ 133,7 133,7 @@
---
-
### π·οΈ Tags
+
### Tags
```sql
CREATE TABLE tags (
@@ 150,7 150,7 @@
---
-
### π EmployeeβTag Relationship
+
### EmployeeβTag Relationship
```sql
CREATE TABLE employee_tag (
@@ 168,7 168,7 @@
---
-
### π Data Sources
+
### Data Sources
```sql
CREATE TABLE data_sources (
@@ 189,7 189,7 @@
## API Contracts
-
### π€ 1 GET /employee/{id}
+
### 1 GET /employee/{id}
**Purpose:** Retrieve a specific employeeβs profile (for dashboard view).
@@ 223,7 223,7 @@
---
-
### π₯ 2 GET /employee
+
### 2 GET /employee
**Purpose:** List all employees (Admin only).
@@ 253,7 253,7 @@
]
```
-
### π¬ 3 POST /message/bulk_ingest
+
### 3 POST /message/bulk_ingest
**Purpose:** Store messages fetched from integrations (used by ingestion worker).
@@ 288,7 288,7 @@
- `400 Bad Request` β Invalid message structure.