backend/
: Laravel 11 API with JWT authenticationfrontend/
: React application with React Router and other utilitiesdocker/
: Docker configuration for development and production environments
This project is split into three repositories:
- Backend API (Laravel) - daw_backend
- Frontend Application (React) - daw_frontend
- Docker Configuration - daw_docker
- Docker Desktop (Windows/macOS) or Docker Engine (Linux)
- Git
# Pull and run the container
docker pull rubenalvarezdev/daw-docker
docker-compose up -d
- Install Docker Desktop for Windows
- Clone the repositories:
git clone https://github.com/Ruben-Alvarez-Dev/daw_docker.git
cd daw_docker
git clone https://github.com/Ruben-Alvarez-Dev/daw_frontend.git frontend
git clone https://github.com/Ruben-Alvarez-Dev/daw_backend.git backend
- Start the containers:
docker-compose up -d
- Install Docker Desktop for macOS
- Clone the repositories:
git clone https://github.com/Ruben-Alvarez-Dev/daw_docker.git
cd daw_docker
git clone https://github.com/Ruben-Alvarez-Dev/daw_frontend.git frontend
git clone https://github.com/Ruben-Alvarez-Dev/daw_backend.git backend
- Start the containers:
docker-compose up -d
- Frontend: http://localhost:5173
- Backend API: http://localhost:8000
- Frontend development server runs on port 5173
- Backend API server runs on port 8000
- MySQL database runs on port 3306 (internal to Docker network)
# Start containers
docker-compose up -d
# Stop containers
docker-compose down
# View logs
docker-compose logs -f
# Rebuild containers
docker-compose up -d --build