Write a complete Node.js application that exposes RESTful GET, POST, PUT, and DELETE endpoints to perform CRUD operations on a MongoDB database.