Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 435 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 435 Bytes

Install

$ docker pull mongo
$ docker run --name sample -p 0.0.0.0:27017:27017 -d mongo
$ npm i
$ npm start

Create user data

$ curl -X POST -d "name=hoge" http://localhost:3000/users

Delete user data

$ curl -X DELETE -d "name=hoge" http://localhost:3000/users

Update user data

$ curl -X PUT -d "name=fuga" http://localhost:3000/users/hoge

LICENSE

NYSL