Skip to content

A simple dockerized crud application build using node and mysql.

Notifications You must be signed in to change notification settings

MIreland/docker-node-crud-mysql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Node MySQL Example

Simple example of a dockerized Node/MySQL app

Quick Start

# Run in Docker
docker-compose up
# use -d flag to run in background

# Tear down
docker-compose down

# To be able to edit files, add volume to compose file
volumes: ['./:/usr/src/app']

# To re-build
docker-compose --build

Normal Start

You can start node application with usual 'npm start' command as well.

  • Make sure to edit server.js and update the host with your host address.
  • App uses default 3306 database connectivity port.
  • Create database with the name 'node_crud'.

"Happy coding :)"

About

A simple dockerized crud application build using node and mysql.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 55.7%
  • JavaScript 43.4%
  • Dockerfile 0.9%