This repository use docker to containerize the following full-stack CRUD application:
🔗 crud-react-node-mySQL-go
Before running the application, ensure you have the following installed:
git clone https://github.com/your-repo-path/USF-CS686-DevOps-assignment4.git
cd USF-CS686-DevOps-assignment4
- Make sure Docker is running on your system.
- In the project directory, execute the following command to build and start the containers:
The Frontend page will try to get request before the backend is set up and the frontend will crash.
docker compose up
or
docker compose up -d --build
After the containers are running, you can access the different components of the application: • 🌐 Frontend: http://localhost:3000 • 🔗 Backend API: http://localhost:8800 • 🗄 MySQL Database: Runs inside the container (default port 3306)
To stop and remove the containers, use:
docker compose down