Skip to content

SkyeKD/USF-CS686-DevOps-assigment4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

USF-CS686-DevOps-Assignment4

This repository use docker to containerize the following full-stack CRUD application:
🔗 crud-react-node-mySQL-go

🛠 Prerequisites

Before running the application, ensure you have the following installed:


🚀 Getting Started

1️⃣ Clone the Repository

git clone https://github.com/your-repo-path/USF-CS686-DevOps-assignment4.git
cd USF-CS686-DevOps-assignment4

2️⃣ Start the Application with Docker Compose

  1. Make sure Docker is running on your system.
  2. In the project directory, execute the following command to build and start the containers:

🛑🛑🛑 Do not open Frontend page before the container is running successfylly!!!

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

3️⃣ Access the Application

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)

🛑 Stopping the Application

To stop and remove the containers, use:

docker compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published