Skip to content

This project sample uses nodejs express framework and MySQL as a specialized database.

Notifications You must be signed in to change notification settings

CarlitosDroid/docker-compose-nodejs-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#DOCKER-COMPOSE-NODEJS-EXPRESS-MYSQL In this sample, we will look at the functionality provided by 'Docker Compose' for defining and running multi-container Docker applications.

We are going to use 'MySQL' like our specialized database and 'Node.js' as our platform for creating highly performant web applications.

#ScreenShots

docker_compose

docker_compose

RUN THE PROJECT

docker-compose up

INSPECT YOUR MYSQL CONTAINER(to see your database)

  1. docker ps
  2. docker exec -it YOUR_MYSQL_CONTAINER_ID bash
  3. mysql -u root -p
  4. put the password(123)
  5. enter
  6. use CHIRINOS;
  7. show tables;
  8. describe EMPLOYEE;

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123';

About

This project sample uses nodejs express framework and MySQL as a specialized database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published