This repository contains a simple three-tier application built using Docker, comprising a frontend, backend, and database.
The application consists of the following components:
- Frontend: A simple HTML webpage.
- Backend: A Node.js server.
- Database: MySQL database.
Before getting started, ensure you have the following installed:
- Docker
- Docker Compose
- Docker Desktop
-
Clone the repository:
git clone https://github.com/dhruv11011/cloud_ia
-
Navigate to the project directory:
cd <project-folder>
-
Navigate to the backend directory:
cd backend
-
Navigate to the project directory again:
cd..
-
Start the Docker containers:
docker-compose up -d
- express
- mysql
- body-parser
- nodemon (development only)
- Database Initialization: The MySQL database is initialized with default data. You can modify the initialization script (init.sql) to customize the database schema or data.