simple-node-api
MIT License
simple-node-api
Running
npm start
Development
Install dependĂȘncies:
npm install
Run with nodemon:
npm run watch
Tests
-
GET: curl localhost:4000
-
GET with querystrings: curl localhost:4000?name=robinson
-
POST: curl localhost:4000/post -d '{"name":"robinson"}'
-
404: curl localhost:4000/xxx
Next steps