This repository contains a simple Task Management application with a Spring Boot backend and a Next.js frontend. The project is configured to run with Docker Compose for easy local development.
backend/- Spring Boot applicationfrontend/- Next.js (React) frontenddocker-compose.yml- Compose file to run the app and a MySQL database
- Make sure Docker is running.
- From the project root run:
docker compose up --buildThis will:
- start a MySQL 8 container (service name
db) - build and start the backend service on port 8080
- build and start the frontend service on port 3000
To run in the background:
docker compose up -d --buildFollow logs with:
docker compose logs -fTo stop and remove containers and the database volume:
docker compose down -v- Frontend: http://localhost:3000
- Backend: http://localhost:8080
- MySQL: 3306
If you prefer to build images manually:
docker build -t task-management-backend:latest ./backend
docker build -t task-management-frontend:latest ./frontendThen run docker compose up (without --build) to use the locally built images.