Skip to content

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

Notifications You must be signed in to change notification settings

kpatel1989/mysql-nodejs-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published