So I have an application developed in Nodejs and is using the Mongodb/Mongoose for the database. Beside the application there is an admin panel where admin panels can manage all the data. in the users schema I have following field: role: { ty...Read more

Moustapha Diouf walks through the process for designing & building his side project: a fullstack JavaScript Trello clone using React, Redux, and Node.js

I found two approaches for implementing result set pagination in MongoDB. Before using one, I chose to benchmark both against various page sizes, collection sizes and result set sizes. And here are the results and its analysis.

​ ➡️ Github Repo is available here ⬅️ 📄 Table of contents REST API? What I will use for this introduction Development Environment Dependencies Structure Building the API routes Set up basics Create question routes Create answer routes Set up erro...Read more

is it normal that after I populate a mongoose schema, the result gets console logged to the terminal successfully but doesn't get saved, and instead I get an _id reference to the document that was populated. How can I make sure that the result is sav...Read more


MongoDB (from humongous) is a cross-platform document-oriented database. Classified as a NoSQL database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster. - Wikipedia


MongoDB doesn't have any managers, become a manager and help drive this community on Hashnode.

Manage this node

loading ...