15 Commits

Author SHA1 Message Date
7b74c2a37d Fix: Load autocomplete from database instead of hardcoded array
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-03-25 11:40:35 +02:00
016d58ac75 Add comprehensive logging for add family functionality
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Backend: Log all requests with timestamps
- Backend: Log POST /api/families with validation details
- Frontend: Log fetch requests and responses
- Frontend: Better error messages with status codes
- Frontend: Handle non-JSON responses gracefully
2026-03-25 11:23:05 +02:00
b9bb5fef3b Fix nginx.conf syntax error - restore proper location block structure
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-03-25 03:59:26 +02:00
f2e300bc2a Fix: Disable aggressive caching for CSS/JS files
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-03-25 02:50:31 +02:00
dfb21aa0f8 modern the button
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-03-25 02:38:39 +02:00
02074aa4a6 Add MongoDB integration with CRUD UI
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Integrated MongoDB 7.0 with Mongoose ODM
- Added CRUD API endpoints (GET, POST, PUT, DELETE)
- Created Family model with validation
- Added database seeding script with initial data
- Implemented Add Family modal form in frontend
- Updated docker-compose with MongoDB service
- Updated Helm chart to v0.3.0 with MongoDB StatefulSet
- Updated documentation with MongoDB setup instructions
2026-03-25 01:51:46 +02:00
f3da9b66c3 Add Helm chart documentation
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-03-24 10:26:41 +02:00
c457db534b Restructure project and update Helm chart for microservices
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Directory Changes:
- Moved old unused files to 'old/' directory:
  - server.js, package.json, package-lock.json, node_modules
  - data/, public/, run_ora_map.sh, README copy.md
- Clean root structure with only backend/ and frontend/ dirs
- Updated .gitignore to ignore old directories

Helm Chart Updates (oramap/):
- Updated Chart.yaml to v0.2.0 with proper description
- Split values.yaml for separate backend and frontend configurations
- Created separate deployments for backend and frontend
- Created separate services for backend (port 3000) and frontend (port 80)
- Added ConfigMap for nginx configuration in Kubernetes
- Added volume mounts for nginx config in frontend deployment
- Updated ingress to route to frontend service
- Added proper health checks for both services
- Added resource limits and requests

Frontend Updates:
- Enhanced nginx.conf with dynamic backend routing
- Supports both Docker Compose and Kubernetes service discovery

This enables proper microservices deployment in Kubernetes with:
- Separate scaling for frontend and backend
- Independent deployments and rollbacks
- Proper service discovery and load balancing
2026-03-24 10:25:23 +02:00
fccd8a0166 Fix CI/CD: Add backend/package.json to repository
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- Removed package.json from .gitignore (keep package-lock.json ignored)
- Added backend/package.json to git so CI/CD pipeline can build
- This fixes the 'ENOENT: no such file or directory' error in Kaniko build
2026-03-24 09:44:16 +02:00
15b8334f2a Add microservices architecture with separate frontend/backend
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- Created backend/Dockerfile for Express API server
- Created frontend/Dockerfile with Nginx for static files
- Added nginx.conf to proxy /api/* to backend
- Created docker-compose.microservices.yml for multi-container setup
- Added .dockerignore files for both frontend and backend
- Updated .woodpecker.yaml to fix registry URL and use separate Dockerfiles
- Added CORS support to backend for microservices mode
- Updated README with dual-mode deployment instructions
- Frontend copies to frontend/public/ for Nginx serving
- CI/CD pipeline now builds separate images for frontend and backend
2026-03-24 09:41:51 +02:00
5a7585f755 Convert to full-stack app with Docker support
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- Restructured app with backend/ and public/ directories
- Created Express backend with /api/search endpoint
- Added health check endpoint at /api/health
- Optimized Dockerfile with multi-stage build
- Added docker-compose.yml for easy deployment
- Updated README with comprehensive documentation
- Added .dockerignore for optimized builds
- Backend listens on 0.0.0.0 for Docker compatibility
2026-03-24 08:47:26 +02:00
20f41d6030 Build and push app
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-03-24 08:38:41 +02:00
9fb50fad23 Add woodpecker pipeline 2025-05-27 23:33:20 +03:00
c410843f5f Add oramap 2025-05-27 23:29:02 +03:00
2334ec08a2 first commit 2025-05-27 23:26:27 +03:00