---
title: "#mongoose articles | Hashnode"
description: "Explore 405 articles tagged #mongoose on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/mongoose"
---

Tag

# #mongoose

405 posts · 413 followers

[somnath khadanga](https://hashnode.com/@somanath-khadanga) · [12h ago](https://hashnode.com/posts/mongoose-s-november-advisories-check-sanitizefilter-and-your-version-today/6afd200099c3317619cd290f)

### [Mongoose's November Advisories: Check sanitizeFilter and Your Version Today](https://buildsaas.hashnode.dev/mongoose-s-november-advisories-check-sanitizefilter-and-your-version-today?utm_source=hashnode&utm_medium=feed)

On November 10, 2026, GitHub published five security advisories for Mongoose, the MongoDB library used by a large share of Node.js backends. One is rated critical and two are rated high. Two of them c

7 min read · [buildsaas.hashnode.dev](https://buildsaas.hashnode.dev/mongoose-s-november-advisories-check-sanitizefilter-and-your-version-today?utm_source=hashnode&utm_medium=feed)

[Deepanshu Yadav](https://hashnode.com/@DeepanshuYadav) · [Aug 3](https://hashnode.com/posts/null-and-missing-look-the-same-in-mongodb-until-your-queries-disagree/6a705b08d8a2070e561284c6)

### [null and Missing Look the Same in MongoDB — Until Your Queries Disagree](https://webdev18.hashnode.dev/null-and-missing-look-the-same-in-mongodb-until-your-queries-disagree?utm_source=hashnode&utm_medium=feed)

How should you represent an authentication token after it has served its purpose? Will you assign it 'null' or 'remove it entirely' and what cost each bring?

11 min read · [webdev18.hashnode.dev](https://webdev18.hashnode.dev/null-and-missing-look-the-same-in-mongodb-until-your-queries-disagree?utm_source=hashnode&utm_medium=feed)

[Peace Melodi](https://hashnode.com/@peacemelodi) · [Jun 16](https://hashnode.com/posts/i-built-a-cli-tool-that-scaffolds-a-production-ready-nestjs-project-in-seconds/6a314e14e16c4bb2e09f9f2e)

### [I Built a CLI Tool That Scaffolds a Production Ready NestJS Project in Seconds](https://peacemelodi.hashnode.dev/i-built-a-cli-tool-that-scaffolds-a-production-ready-nestjs-project-in-seconds?utm_source=hashnode&utm_medium=feed)

create-nest-pro is an open source CLI tool that scaffolds a fully production ready NestJS project instantly. One command. Five questions. TypeScript, ESLint, Prettier, TypeORM, Mongoose, Docker, Swagger, Jest and environment configuration all set up and ready. Supports PostgreSQL, MySQL and MongoDB. Always installs the latest package versions.

2 min read · [peacemelodi.hashnode.dev](https://peacemelodi.hashnode.dev/i-built-a-cli-tool-that-scaffolds-a-production-ready-nestjs-project-in-seconds?utm_source=hashnode&utm_medium=feed)

[Mohsin](https://hashnode.com/@mohsin-79) · [Jun 3](https://hashnode.com/posts/building-the-catalog-service-mongodb-mongoose-and-your-first-running-server/6a207b10950ea4fcaf580af0)

### [Building the Catalog Service — MongoDB, Mongoose, and Your First Running Server](https://learnbybuilding.hashnode.dev/building-the-catalog-service-mongodb-mongoose-and-your-first-running-server?utm_source=hashnode&utm_medium=feed)

Set up a microservice with Node.js, Express, and MongoDB. Learn Mongoose schemas, database connections, and environment variables step by step.

16 min read · [learnbybuilding.hashnode.dev](https://learnbybuilding.hashnode.dev/building-the-catalog-service-mongodb-mongoose-and-your-first-running-server?utm_source=hashnode&utm_medium=feed)

[Soumabha Saha](https://hashnode.com/@soumabhasaha15) · [May 15](https://hashnode.com/posts/pagination-in-mongo-db-with-mongoose-js/6a075ff373afc887579a86fa)

### [Pagination in mongo-db with mongoose.js](https://soumabhasaha.hashnode.dev/pagination-in-mongo-db-with-mongoose-js?utm_source=hashnode&utm_medium=feed)

Install pagination-v2 and aggregate-paginate-v2 . I have used zod for validation. import z from "zod"; import mongoosePaginate from "mongoose-paginate-v2"; import mongoose, { AggregatePaginateModel }

2 min read · [soumabhasaha.hashnode.dev](https://soumabhasaha.hashnode.dev/pagination-in-mongo-db-with-mongoose-js?utm_source=hashnode&utm_medium=feed)

[Anand](https://hashnode.com/@dj7) · [Apr 20](https://hashnode.com/posts/building-production-ready-mongoose-models-hooks-jwt-bcrypt/69e625af1faed8cd14a3ffce)

### [Building Production-Ready Mongoose Models: Hooks, JWT & Bcrypt](https://blog.anands.dev/building-production-ready-mongoose-models-hooks-jwt-bcrypt?utm_source=hashnode&utm_medium=feed)

Intro: Ship secure, scalable User/Video models with automated hashing and token auth— production patterns. Concept: Secure Mongoose models automate auth logic at the schema level ✅ Schema-level hook

3 min read · [blog.anands.dev](https://blog.anands.dev/building-production-ready-mongoose-models-hooks-jwt-bcrypt?utm_source=hashnode&utm_medium=feed)

[2](https://hashnode.com/posts/building-production-ready-mongoose-models-hooks-jwt-bcrypt/69e625af1faed8cd14a3ffce)

[Anand](https://hashnode.com/@dj7) · [Apr 16](https://hashnode.com/posts/designing-scalable-mongodb-schemas-e-commerce-hospital-systems/69e0cc8e94b913c913223141)

### [Designing Scalable MongoDB Schemas: E-Commerce & Hospital Systems](https://blog.anands.dev/designing-scalable-mongodb-schemas-e-commerce-hospital-systems?utm_source=hashnode&utm_medium=feed)

Intro: Practicing Data Modeling Concept: Strategic Schema Design for Real-World Applications ✅ Model relationships, not just data: Use ObjectId references to connect independent entities (Users, Cat

5 min read · [blog.anands.dev](https://blog.anands.dev/designing-scalable-mongodb-schemas-e-commerce-hospital-systems?utm_source=hashnode&utm_medium=feed)

[Shubham Kumar Singh](https://hashnode.com/@shubhamsinghbundela) · [Apr 8](https://hashnode.com/posts/building-a-todo-app-using-express-js-mongodb/69d6576e707c1ce76838ee97)

### [Building a Todo App using Express.js + MongoDB](https://shubhamsinghbundela.hashnode.dev/building-a-todo-app-using-express-js-mongodb?utm_source=hashnode&utm_medium=feed)

Learn how to build a Todo App using Express.js and MongoDB with JWT authentication. Step-by-step guide covering schema design, APIs, and backend.

5 min read · [shubhamsinghbundela.hashnode.dev](https://shubhamsinghbundela.hashnode.dev/building-a-todo-app-using-express-js-mongodb?utm_source=hashnode&utm_medium=feed)

[Anuradha Sharma](https://hashnode.com/@anuradha1) · [Mar 17](https://hashnode.com/posts/connecting-mongodb-to-my-express-api-and-building-a-full-crud-app/69b8f63236196e584cdad8e4)

### [Connecting MongoDB to My Express API and Building a Full CRUD App](https://express-api-beginner-guide.hashnode.dev/connecting-mongodb-to-my-express-api-and-building-a-full-crud-app?utm_source=hashnode&utm_medium=feed)

by Anuradha Sharma

3 min read · [express-api-beginner-guide.hashnode.dev](https://express-api-beginner-guide.hashnode.dev/connecting-mongodb-to-my-express-api-and-building-a-full-crud-app?utm_source=hashnode&utm_medium=feed)

[Viraj Kanjia](https://hashnode.com/@viraj99) · [Mar 14](https://hashnode.com/posts/building-a-multi-tenant-saas-app-with-node-js-and-mongodb-part-2-implementing-core-multi-tenant-logic/69b5a3b9210c74252f1656c5)

### [Building a Multi-Tenant SaaS App with Node.js and MongoDB - Part 2: Implementing Core Multi-Tenant Logic](https://multi-tenant-saas-architecture.hashnode.dev/building-a-multi-tenant-saas-app-with-node-js-and-mongodb-part-2-implementing-core-multi-tenant-logic?utm_source=hashnode&utm_medium=feed)

Deep dive into connection pooling, database middleware, controllers, and a fully working multi-tenant server

20 min read · [multi-tenant-saas-architecture.hashnode.dev](https://multi-tenant-saas-architecture.hashnode.dev/building-a-multi-tenant-saas-app-with-node-js-and-mongodb-part-2-implementing-core-multi-tenant-logic?utm_source=hashnode&utm_medium=feed)
