A simple project made using Node.js as the backend, MySQL as the database, and single-page HTML to interact with the backend.
Clone the project
git clone https://github.com/soumiknandi/node-mysql-html-docker.gitGo to the project directory
cd node-mysql-html-dockerBuild docker image
docker build -t node-backend -f backend/Dockerfile ./backend
docker build -t html-frontend -f frontend/Dockerfile ./frontendRun docker compose
docker compose up or docker-compose up Website link
http://localhost:8080API gateway link
http://localhost:3000/users/Important
Make sure ports 3306, 3000, and 8080 are not in use by other applications.