#MongoDB

10 items tagged “MongoDB

TILBackend4 min read

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.

#MongoDB
Case StudiesCase Study5 min read

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.

#Next.js
Case StudiesCase Study5 min read

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.

#Next.js
TILBackend2 min read

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.

#File Storage
TILBackend2 min read

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.

#Payload CMS
TILBackend3 min read

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.

#MongoDB
TILBackend3 min read

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.

#MongoDB
Case StudiesCase Study2 min read

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.

#Next.js
ProjectsSaaS2 min read

Clonify.io SaaS Platform

Template marketplace SaaS platform migrated from WordPress to Next.js with custom CMS and payments.

#Next.js
ProjectsWeb App2 min read

Team Enoch Estimate Portal

Online estimation platform allowing customers to request service quotes.

#Next.js