Directory structure:
- ☁️
docker/
- Docker services definitions - 🌐
frontend/
- NextJS frontend application - 🖥️
backend/
- Spring Boot backend application - 🚪
nginx/
- NGINX configuration for backend proxy layer - 📦
scripts/
- Utility scripts for building and running containers - 📊
tests/
- Performance testing scripts using JMeter
Copy the environment file and fill it with the necessary data.
cp .env.example .env
There exist utility scripts whcih handle docker commands for building and running containers.
Prerequisite: Make the scripts executable.
chmod u+x scripts/backend.sh
chmod u+x scripts/frontend.sh
./scripts/backend.sh build
./scripts/frontend.sh build
./scripts/backend.sh
./scripts/frontend.sh