Divishtdivishtkori.hashnode.dev·Jan 24, 2025MongoDB Aggregation pipelinesWhat are mongoDB aggregation pipelines ? MongoDB’s Aggregation Pipeline is a framework used to process data and perform operations on collections. It allows you to transform, filter, and aggregate data in a collection using a series of stages, each ...MongoDB
Yashwant Mahamuniyashbm.hashnode.dev·Jan 22, 2025Mongoose for Beginners: A Friendly IntroductionIf you're starting with Node.js and MongoDB, you've likely come across Mongoose. It’s a powerful library that simplifies working with MongoDB in a Node.js environment. Mongoose provides an easy-to-use API to model and interact with data while adding ...mongoose
Abdul-Hafiz Aderemihafizaderemi.hashnode.dev·Jan 5, 2025Why You Can’t Directly Modify Mongoose Query Results and How I Learned It the Hard WayAll I had to do was rename a field in the result of a Mongoose query before sending a response to the client. However, no matter what I tried, I couldn’t get it. After spending about 3 hours trying to figure out what could be wrong, I realised someth...mongoose
Arka Infotecharkainfotech.hashnode.dev·Jan 1, 2025Building a Chat Application in MERN StackIntroduction In the digital age, real-time communication is a critical component of many web applications. Whether it's for customer support, team collaboration, or casual conversations, chat applications have become a staple of the online experience...chatapp
Arka Infotecharkainfotech.hashnode.dev·Jan 1, 2025Connecting MongoDB with Node.js in the MERN StackIntroduction The MERN stack is a popular choice for building full-stack web applications due to its flexibility, scalability, and the use of JavaScript across both the front-end and back-end. The stack consists of MongoDB, Express.js, React.js, and N...MongoDB
Chandan kumardeveloperchandan.hashnode.dev·Dec 31, 2024Top 15 MongoDB Interview Questions1. What is MongoDB, and why is it used? Answer: MongoDB is a NoSQL database that stores data in a flexible, JSON-like format called BSON. It is used because it is highly scalable, supports high performance, and allows for schema-less design, making i...MongoDB
Darsh Pateldarsh-patel.hashnode.dev·Dec 10, 2024Data Modeling Using Mongoose: A Comprehensive GuideData modeling is an essential part of backend development. It defines how data is organized, stored, and accessed from a database. It ensures consistency in applications. Mongoose, a popular Node.js library, simplifies data modeling with MongoDB, a N...mongoose
Abdul Rahman Moinrefresh-token-vs-access-token.hashnode.dev·Nov 29, 2024Refresh Token vs Access TokenWhat is an Access Token? An access token, typically JWT, is an encrypted thing that saves the time of the user and the server cost the website owner. But what actually is it? It is an encrypted token or string that is equal (when it got decrypted) to...refresh-token
Ndungu James Kjames-expo.hashnode.dev·Nov 25, 2024Mongoose & MongoDB vs Node JsMongo DB Node.js applications must use the official driver Mongo DB drivers simplify connecting to and interacting with your database from your application Drivers simplify connecting to and interacting with a MongoDB database Driver- works in tandem...MongoDB
Akshay Bendadiakshay-bendadi.hashnode.dev·Nov 19, 2024Understanding Data Modeling with MongooseAs part of my full-stack learning journey, today marks Day 8, and I delved into the critical concept of data modeling with Mongoose. Mongoose is a powerful ODM (Object Data Modeling) library for MongoDB, and it simplifies defining schemas, structurin...backend