Skip to content

arkmq-org/node-api-server-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-api-server-template

Template for an api server on node JS.

yarn
yarn build
yarn test

usage

curl \
    --header "Content-Type: application/json" \
    --request POST \
    --data '{"name":"c1","value":12}' \
    http://localhost:9980/api/v1/counter
{"name":"c1","value":12}
curl  http://localhost:9980/api/v1/counter?name=c1
{"name":"c1","value":12}
curl  http://localhost:9980/api/v1/counter?name=c0
{"name":"c0","value":0}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published