Articles by Tag #mongoose

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Fixing “MongoDB Service Not Starting (Error 1067)” on Windows

If you’ve been working with MongoDB locally and suddenly see this dreaded error: connect...

Learn More 8 0Oct 8

Hacking Mongoose: How I Built a Global Plugin to Stop Data Leaks 🛡️

Data leaks are the nightmare of every backend developer. You forget one .select('-password') in a new...

Learn More 3 4Dec 10

MongoDB and Mongoose at a high level

This blog gives you a high level understanding of what MongoDB and Mongoose are and some basic...

Learn More 6 1Nov 10

How to Make Your Mongoose Models Smarter and Your Code Cleaner with Setters, Getters, and More

I've been building, deploying, and maintaining Node.js applications for years now, and my ODM of...

Learn More 1 0Sep 26

Stop Wasting Memory: Use .lean() Like a Pro

Introduction Alright, let’s talk about something that should be common sense but somehow...

Learn More 14 2Feb 17

6 Steps to Set Up MongoDB Atlas for Node.js Applications

In this post, I’ll share 6 steps to set up MongoDB Atlas for Node.js Applications. Before starting,...

Learn More 3 4Jan 13

Crudify: Automate Your Mongoose CRUD Operations in NestJS

Are you tired of writing repetitive CRUD logic for your Mongoose models? Meet Crudify, a NestJS...

Learn More 7 0Jan 9

Tutorial de Instalação: Express com MongoDB e Mongoose

Antes de ensina-lo, esse é o meu post de número 1 na Dev.to, aqui eu estarei ensinando a como...

Learn More 8 0Dec 27 '24

Optimize Your Node.js MongoDB Code: Replace $lookup with Mongoose ref - [Anni]

Introduction: In MongoDB, especially when working with Mongoose in Node.js, there are two...

Learn More 5 1May 14

MongoDB is a business choice

Yep, just discovered it. In the ever-evolving landscape of web development, selecting the right...

Learn More 1 0Feb 15

📝 CRUD Operation with Node.js, Express & MongoDB

This guide teaches how to build a simple Blog Article CRUD API using: Node.js – runtime to run...

Learn More 1 0May 11

Parte 2 - Criando uma API de galeria de imagens com NestJS, MongoDB e Cloudinary

Nesse post vou te mostrar como criar uma API simples de galeria de imagens usando NestJS no backend,...

Learn More 1 0Apr 7

Mongoose with MongoDB

Complete Guide to Mongoose with MongoDB: A Comprehensive Tutorial Mongoose is an ODM...

Learn More 1 0Feb 16

Top 100 MongoDB Interview Questions and Answers

MongoDB Comprehensive Answers 🔰 Basic MongoDB Questions What is...

Learn More 6 1Jun 3

Understanding Relationships in MongoDB and Mongoose

Understanding Relationships in MongoDB & Mongoose Introduction MongoDB,...

Learn More 1 0Feb 16

Starting a Basic Express App with Mongoose & TypeScript

✅ 1. Initialize Project Write these commands in your powershell. mkdir my-app cd...

Learn More 0 0Jul 1

The Story Behind mongoose-log-history: From Internal Audit Needs to Open Source

A while ago, I was working on a project where I needed to implement an audit log for some important...

Learn More 3 0Jun 24

🐛 Don’t Let This Mongoose Bug Waste Your Time in Next.js

I spent hours wondering why my MongoDB documents only had an _id field after saving — and the fix...

Learn More 1 0Jun 13

Implementing the Repository Pattern with Mongoose in Node.js

By Diego Liascovich Full-Stack Developer | Microservices | Angular | Node.js The Repository Pattern...

Learn More 0 0Jul 8

Mysql 101 for Mongoose developer.

Introduction I don't care. MySQL is a relational database management system (RDBMS). It...

Learn More 1 2Dec 22 '24

OxiMod: MongoDB ODM in Rust

Introduction As a mostly self‑learned developer, I took the classic web‑developer route...

Learn More 0 0Jun 16

Express.js model generator with AI

express.js-model-gen — a command-line Python tool that uses AI to generate Express.js models based on...

Learn More 0 2Jun 3

Setting Up a TypeScript + Express + MongoDB(Mongoose) Backend from Scratch

If you're planning to build a scalable, type-safe Node.js backend, integrating Express, Mongoose,...

Learn More 0 0Apr 7

Data modeling And Error Handling in Mongoose/Node.js

Couple of days ago I had some issue with data modelling and in researching the topic i found so many...

Learn More 0 0Jun 18

🧠 Caso real: cuando .populate() no es suficiente (y lo que aprendí integrando MongoDB con Oracle)

Hace un tiempo me tocó un desafío interesante como backend developer. Un cliente necesitaba extender...

Learn More 0 0May 29

Evitando Erros de Índice Único (E11000) ao Usar findOneAndUpdate com upsert no Mongoose

Como garantir unicidade de remessas em sistemas multi-tenant no MongoDB? Entenda por que erros E11000...

Learn More 1 0Apr 26

Understanding Pre and Post Middleware in Mongoose with NestJS & TypeScript 🚀

Mongoose provides powerful pre and post middleware hooks that allow you to execute logic before or...

Learn More 2 0Feb 17

An Exclusive guide to MongoDB 2024

This guide offers clear explanations and expert insights to optimize their database performance. Stay ahead with cutting-edge techniques and real-world examples, tailored for the modern MongoDB landscape.<br><br>Read Article :&nbsp;<a href="https://blog.arunshaw.in/blog/an-exclusive-guide-to-mongodb-2024">An Exclusive guide to MongoDB 2024</a>

Learn More 0 0May 16

Multi-Tenant SaaS Architecture: Getting Account Creation Right From Day One

Your first user is also your first tenant. Here's how we built account creation that scales. When we...

Learn More 2 1Jul 3

Mongoose vs Sequelize — A Practical Comparison for Backend Devs

When building Node.js backends, choosing the right **ORM **can make or break your development...

Learn More 0 0Jul 17