
A full-stack application for document processing and OCR, built with React, Node.js, and Python. The system consists of three main components: frontend, backend, and model server.
https://frontend-client.c-058b7ff.kyma.ondemand.com/
The application is containerized and deployed using Kubernetes, with the following components:
cd backend
npm install
npm start
The backend server will start on port 3000.
cd frontend
npm install
npm run dev
The frontend development server will start on port 5173.
cd model_server
pip install -r requirements.txt
python main.py
The model server will start on port 8000.
To run the entire stack locally using Docker Compose:
cd backend
docker-compose up
This will start:
The application is configured for deployment on Kubernetes using Kyma. Each component has its own deployment configuration:
kubectl apply -f db_deployment.yaml
kubectl apply -f backend/deployment.yaml
kubectl apply -f frontend/deployment.yaml
kubectl apply -f model_server/deployment.yaml
.
├── backend/ # Node.js backend server
├── frontend/ # React frontend application
├── model_server/ # Python OCR/processing service
└── deployment files # Kubernetes deployment configurations
The application requires various environment variables for configuration. These are managed through Kubernetes secrets:
backend-env: Backend and MinIO configurationfrontend-env: Frontend configuration