|
|
@@ -11,7 +11,21 @@ This project provides a FastAPI-based backend for extracting structured data fro
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
-1. **Install Dependencies**:
|
|
|
+### Backend (FastAPI)
|
|
|
+
|
|
|
+1. **Initialize Virtual Environment**:
|
|
|
+ ```bash
|
|
|
+ # Create environment
|
|
|
+ python -m venv venv
|
|
|
+
|
|
|
+ # Activate environment (Windows)
|
|
|
+ .\venv\Scripts\activate
|
|
|
+
|
|
|
+ # Activate environment (Mac/Linux)
|
|
|
+ # source venv/bin/activate
|
|
|
+ ```
|
|
|
+
|
|
|
+2. **Install Dependencies**:
|
|
|
```bash
|
|
|
pip install -r requirements.txt
|
|
|
```
|
|
|
@@ -27,6 +41,19 @@ This project provides a FastAPI-based backend for extracting structured data fro
|
|
|
uvicorn src.main:app --reload
|
|
|
```
|
|
|
|
|
|
+### Frontend (Angular)
|
|
|
+
|
|
|
+1. **Install Dependencies**:
|
|
|
+ ```bash
|
|
|
+ cd ai-data-entry-ui
|
|
|
+ npm install --legacy-peer-deps
|
|
|
+ ```
|
|
|
+
|
|
|
+2. **Run the UI**:
|
|
|
+ ```bash
|
|
|
+ npm start
|
|
|
+ ```
|
|
|
+
|
|
|
## API Endpoints
|
|
|
|
|
|
### `GET /health`
|