PMPeace Melodiinpeacemelodi.hashnode.dev·Jun 16 · 2 min readI Built a CLI Tool That Scaffolds a Production Ready NestJS Project in SecondsI built a CLI tool that scaffolds a fully production ready NestJS project instantly with one command. When you are starting a new NestJS project, the setup is always the same. Database configuration, 10
MMohsininlearnbybuilding.hashnode.dev·Jun 3 · 16 min readBuilding the Catalog Service — MongoDB, Mongoose, and Your First Running Server Series: Building an Event Booking System with Microservices Part: 03 — Catalog Service Setup, Schemas & the First Health Route Blog by: Mohsin Khan Where We Left Off In Part 2 we set up Docker, spun00
SSSoumabha Sahainsoumabhasaha.hashnode.dev·May 15 · 2 min readPagination in mongo-db with mongoose.js 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 } 00
AAnandinblog.anands.dev·Apr 20 · 3 min readBuilding Production-Ready Mongoose Models: Hooks, JWT & BcryptIntro: 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 hook22FL
AAnandinblog.anands.dev·Apr 16 · 5 min readDesigning Scalable MongoDB Schemas: E-Commerce & Hospital SystemsIntro: Practicing Data Modeling Concept: Strategic Schema Design for Real-World Applications ✅ Model relationships, not just data: Use ObjectId references to connect independent entities (Users, Cat00
SKShubham Kumar Singhinblog.realdev.club·Apr 8 · 5 min readBuilding a Todo App using Express.js + MongoDBLast time, I wrote about Understanding HTTP Requests, Responses, and Methods using Node.js. This time, I took it one step further… I built a Todo Application using Express.js and MongoDB What I Built00
ASAnuradha Sharmainexpress-api-beginner-guide.hashnode.dev·Mar 17 · 3 min readConnecting MongoDB to My Express API and Building a Full CRUD AppSo in my last post I built my first Express API with GET and POST routes. It worked great but there was one problem whenever I refresh my server all Data got vanish that's simple because I was storing10
VKViraj Kanjiainmulti-tenant-saas-architecture.hashnode.dev·Mar 14 · 20 min readBuilding a Multi-Tenant SaaS App with Node.js and MongoDB - Part 2: Implementing Core Multi-Tenant LogicSeries Navigation Part 1 : Concepts, Project Setup, Configuration & Models (previous) Part 2 : Core Multi-Tenant Logic ← you are here Part 3 : Migrations, Socket.IO, Performance & Production (comin00
OOOgunuyo Ogheneruemu Biniruemu.hashnode.dev·Mar 14 · 20 min readMongoDB Tutorial Guide: A Beginner-to-Builder Backend Journey with Node.js, Express, Mongoose, JWT, Swagger, Comments, Wallets, and AdminIntroduction Backend development can feel mysterious at first. You write some routes, connect to a database, test in Postman, and suddenly your app starts behaving like a real product. This guide is a00
ADAbinash Dashinmongo-virtuals-disappear-bug.hashnode.dev·Feb 19 · 4 min readWhen Mongoose Virtuals Disappear: Understanding the Lean() TradeoffWhile developing my campground listing application, I encountered a subtle but instructive issue involving Mongoose virtual fields. The schema was properly defined, the virtual property was implemente10