Skip to content

ferchitoM/Prueba-docker-node-api-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized Node API - CRUD using: express, express-validator, MySQL database and phpmyadmin

  • Docker v4
  • Mysql v8
  • phpmyadmin v5
  • express v4
  • express-validator v7

Execute:

  • docker-compose build
  • docker-compose up

Note: If the mysql service fails the healthcheck, restart the container:

  • Ctrl+c twice
  • docker-compose down
  • docker-compose up

Go to localhost:4000 to run the app

Notes:

  • DB script is in backend/db folder. Docker automatically creates a database with test data. Open phpmyadmin on localhost:8080 to view the database (user: user, password:123)
  • Backend api runs on localhost:3000

About

Prueba-docker-node-api-mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published