#MongoDB
10 items tagged “MongoDB”
Preventing Duplicate Votes in a Polling API Under Concurrent Requests
TIL that a 'check if the user already voted, then write' guard is racy under concurrent requests — the fix was a unique compound index plus an atomic $inc, so MongoDB rejects the duplicate instead of the app trying to catch it first.
Pasal SMS: Building a Digital Business Operating System for Small Businesses
A multi-tenant SaaS platform on Next.js, Express.js and MongoDB that replaces notebook-and-spreadsheet shop record keeping with digital sales, credit, inventory, and analytics tracking.
Pollarise: Building an Interactive Social Polling Platform for Real-Time Community Engagement
A scalable SaaS polling platform on Next.js, Node.js and MongoDB, built to turn opinion-sharing into a fast, social, mobile-first experience rather than a survey form.
Choosing Object Storage Instead of the Database for Application Images
TIL that storing delivery-proof photos as base64 blobs in MongoDB worked fine at low volume and turned into slow queries and ballooning backups once real usage kicked in.
Building Applications with Payload CMS Instead of a Custom Admin Panel
TIL that hand-rolling an admin panel for content the client needed to edit themselves cost more time than adopting Payload CMS's schema-as-code approach, even with its own learning curve.
Debugging a MongoDB/WiredTiger Cache Pressure Issue in Production
TIL that intermittent MongoDB slowdowns that don't show up in query logs can be a WiredTiger cache eviction problem, not a query problem — and the fix was a resource limit, not an index.
Designing MongoDB Schemas with Mongoose Without Fighting Yourself Later
TIL that a MongoDB collection modeled around how a screen displayed data instead of how the data actually related caused a rewrite once a second screen needed the same data differently.
Team Enoch: A Web Platform for a Home-Services Business
Rebuilding the web presence and quoting workflow for an HVAC, electrical, plumbing and roofing service business on Next.js and Payload CMS.
Clonify.io SaaS Platform
Template marketplace SaaS platform migrated from WordPress to Next.js with custom CMS and payments.
Team Enoch Estimate Portal
Online estimation platform allowing customers to request service quotes.