Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edit mysql-microservice.start.sh Update the line: "--volume=/mysql-microservice/data:/var/lib/mysql " Update your IP address in MYSQL_HOST in nodejs/start.sh

run ./start.sh

Once the command completes

Use the following apis to query the database

Home localhost:4000/

Get Tasks GET localhost:4000/tasks

Add Tasks POST localhost:4000/tasks BODY: { "description": "This is a new task", "dueDate": 1231231232 }

Update Tasks PUT localhost:4000/tasks { "taskId": 1 "description": "This is a new task", "dueDate": 1231231232 }

Delete Tasks DELETE localhost:4000/tasks { "taskId": 1 }

About

THis project demonstrate an app built using mysql and nodejs docker images.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages