feat: Add Docker configuration for the application stack and implement client-side API for data management and Excel export.

This commit is contained in:
2025-12-08 16:08:20 +05:30
parent d4ff030d51
commit a45eb2569c
6 changed files with 79 additions and 1 deletions

38
docker-compose.yml Normal file
View File

@@ -0,0 +1,38 @@
version: '3.8'
services:
server:
build: ./server
ports:
- "8080:8080"
environment:
- mongoURI=mongodb://mongo:27017/appointment_to_examiner
depends_on:
- mongo
networks:
- app-network
client:
build: ./client
ports:
- "3000:80"
depends_on:
- server
networks:
- app-network
mongo:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
networks:
- app-network
networks:
app-network:
driver: bridge
volumes:
mongo-data: