Skip to content

Ruben-Alvarez-Dev/daw_docker

Repository files navigation

Restaurant Management System

Project Structure

  • backend/: Laravel 11 API with JWT authentication
  • frontend/: React application with React Router and other utilities
  • docker/: Docker configuration for development and production environments

Repositories

This project is split into three repositories:

  1. Backend API (Laravel) - daw_backend
  2. Frontend Application (React) - daw_frontend
  3. Docker Configuration - daw_docker

Requirements

  • Docker Desktop (Windows/macOS) or Docker Engine (Linux)
  • Git

Installation Instructions

Using Docker Hub (Quickest Method)

# Pull and run the container
docker pull rubenalvarezdev/daw-docker
docker-compose up -d

Windows Installation

  1. Install Docker Desktop for Windows
  2. 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
  1. Start the containers:
docker-compose up -d

macOS Installation

  1. Install Docker Desktop for macOS
  2. 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
  1. Start the containers:
docker-compose up -d

Access Applications

Development

  • Frontend development server runs on port 5173
  • Backend API server runs on port 8000
  • MySQL database runs on port 3306 (internal to Docker network)

Container Management

# Start containers
docker-compose up -d

# Stop containers
docker-compose down

# View logs
docker-compose logs -f

# Rebuild containers
docker-compose up -d --build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published