Skip to content

soumiknandi/node-mysql-html-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node JS - MySQL - HTML - Docker

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.git

Go to the project directory

  cd node-mysql-html-docker

Build docker image

  docker build -t node-backend -f backend/Dockerfile ./backend

  docker build -t html-frontend -f frontend/Dockerfile ./frontend

Run docker compose

  docker compose up or docker-compose up 

Website link

  http://localhost:8080

API gateway link

  http://localhost:3000/users/

Important

Make sure ports 3306, 3000, and 8080 are not in use by other applications.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors