An easy way to get started with a Express server with MongoDB with Node.js. Read more about it.
git clone [email protected]:rwieruch/node-express-mongodb-server.git
cd node-express-mongodb-server
npm install
npm start
curl -X POST -H "Content-Type:application/json" http://localhost:3000/messages -d '{"text":"Hi again, World"}'
curl -X DELETE -H "Content-Type:application/json" http://localhost:3000/messages/1
{ "text": "Hi again, World" }