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
Surya Prakash Singhsuryathink.hashnode.dev·Nov 21, 2024NXM 201 and NXM 301 Aggregation QueriesNXM 201 1. Mongodb - advance queries [https://students.masaischool.com/assignments/25108/problems/27000/121343] 6 Questions Checkout the sample database Here [https://pastebin.com/raw/W1NgY8XQ] Import this json into your mongodb collection. Write fol...MongoDB
Samani Humairasamanihumaira.hashnode.dev·Nov 1, 2024A Beginner’s Guide to Developing a Simple CRUD ApplicationApplication Pre-Requisite: Before we dive into the development of our CRUD application, make sure you have the following prerequisites: Basic Understanding of Node.js, Express, and MongoDB. Node.js and MongoDB Installed on Your Device: Ensure that ...2 likescrud app
Priyanshu Pandeypriyanshupandey.hashnode.dev·Oct 28, 2024Mongoose Schema Explained: Tips and Best PracticesIn Mongoose, everything begins with a Schema. Each schema links to a MongoDB collection and defines the structure of the documents in that collection. This means that with a schema, we decide what type of data will be in the collection and what forma...MongoDB
Rishabh Bhattrishabhcodes.hashnode.dev·Sep 11, 2024How URL Shorteners Work & How to Build One with Server-Side Rendering using Express and EJSIntroduction: Have you ever wondered how those tiny URLs work behind the scenes? Whether you're sharing links on social media or simplifying a long link for your users, URL shorteners are super handy. In this blog post, we’ll walk through how URL sho...10 likes·87 readsNode.js
AYUSH KUMAR GUPTAayyush08.hashnode.dev·Jul 1, 2024Exploring MongoDB Aggregation Pipelines for Data ProcessingWhat is 'Aggregation'? What is a 'Pipeline'? What role does they play in MongoDB databases? How are they written? Let's talk about it in this article from my own perspectives and understanding.👨💻 Starting as a developer, if you visit the aggregati...20 likes·31 readsMongoDB
Aashish Singhdev-blogs.hashnode.dev·Jun 29, 2024How to Use MongoDB Aggregate Functions: Step-by-Step ExamplesIntroduction MongoDB, a leading NoSQL database, provides powerful tools for aggregating and transforming data through its aggregation framework. Aggregate functions are crucial for performing operations like filtering, grouping, sorting, and reshapin...10 likes·28 readsMongoDB
Rohan Shrivastavarohanblogs.hashnode.dev·Jun 11, 2024Simplify Your MongoDB Workflow with : Mongoose NPMIn the world of web development, databases are crucial for storing and managing data. When working with MongoDB, a popular NoSQL database, Mongoose is a powerful tool that simplifies the process. In this blog, we’ll explore what Mongoose NPM is, it...mongoose
Abdelrahman Mahmoudcoderjourney.hashnode.dev·Jun 7, 2024What happens in Express JS when the group owner leaves?I want to talk about this feature, and that’s for make database clean. what happens if the group owner decides to leave? if(userToDelete.id === groupOwner._id) - User that he trying to leave is the same group owner First, note that the group owner...backend developments
Saish Ranereactwithsr.hashnode.dev·Jun 5, 2024Introduction to MERN Stack: Part 1Learn to Create a Server Using Express.js Hello everyone, today we will create a server using express.js. First, create a folder named "server" and inside it, create a file named "server.js". Navigate to that folder using "cd server". You can refer ...1 likeMERN Stack