Skip to content

kzhrk-sandbox/sample-restful-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published