Create a gist now
Instantly share code, notes, and snippets.
HTTPS clone URL
Subversion checkout URL
Short example of node.js Express method to POST resource data into MongoDB. This was just a snippet for my blog to illustrate the simplicity of using MongoDB. Assume the data has already been validated, and MongoDB connection established.