22 lines
624 B
Markdown
22 lines
624 B
Markdown
# BACKEND API SERVICE: FASTAPI & MASTER REGISTRIES
|
|||
|
|
## DLH Data Lakehouse Pipeline Ingestion API
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 1. Description
|
||
|
|
|
||
|
|
Folder ini memuat **FastAPI REST API Backend** yang menyediakan Master Data Registries untuk antarmuka React.js Frontend dan meng-handle deployment file spesifikasi YAML ke direktori Airflow `/opt/airflow/configs/`.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 2. Cara Menjalankan Backend API Server
|
||
|
|
|
||
|
|
```bash
|
||
|
|
cd experimental/backend
|
||
|
|
pip install -r requirements.txt
|
||
|
|
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
|
||
|
|
```
|
||
|
|
|
||
|
|
- **API Base URL**: `http://localhost:8000/api/v1`
|
||
|
|
- **Interactive Swagger Docs**: `http://localhost:8000/docs`
|