How to build a basic API with Node.js and MongoDB