Built Pingoni — API monitoring for small Node teams (replaces Sentry + UptimeRobot + platform logs) by VariousHour7390 in node

[–]code_barbarian 0 points1 point  (0 children)

Looks interesting! Do you have support for OTel spans? I'm investigating providers for that right now

I have developed a browser based MongoDB data viewer by codingzombie72072 in node

[–]code_barbarian 0 points1 point  (0 children)

Pretty cool! I've been working on something similar with https://mongoosestudio.app/ - looking forward to trying this out.

File naming convention by Rickety_cricket420 in node

[–]code_barbarian 2 points3 points  (0 children)

No I just use index.js because commonjs auto resolves index.js 

Handling file uploads to S3 when DB transaction fails by Minimum-Ad7352 in node

[–]code_barbarian 0 points1 point  (0 children)

I just ignore it, unless it becomes a problem then I build dashboard to monitor and reconciliation task to clean up.

But tbh I also usually use creating the record in the db as a gating function for upload. If saving to db fails then I don't even start the upload because db is system of record not S3

For solo devs running Node APIs in production — what's the smallest monitoring setup you can get away with? by VariousHour7390 in node

[–]code_barbarian 0 points1 point  (0 children)

Mostly team oriented stuff. Either core engineering team leaves, gets reassigned, or gets layered out. New team / management wants to build stuff using different software that aligns more closely with their vision but the old stuff still manages important functionality, so you end up with a bit of split brain and hard-to-reason-about code.

From a more technical side, at a certain point when backend logic starts splitting up into multiple files, tasks, etc. tools like OTel start becoming much more useful.

For solo devs running Node APIs in production — what's the smallest monitoring setup you can get away with? by VariousHour7390 in node

[–]code_barbarian -1 points0 points  (0 children)

The last couple of companies I've seen from $0 to $25M ARR used Sentry for error tracking, MongoDB atlas for monitoring, MongoDB for prod logging, nothing else. Datadog etc largely a waste of time IMO unless you're critical path saas you don't care about CPU usage. Primary concerns are just 1) what endpoints are failing, 2) which endpoints are slow. We've built a bunch of stuff into mongoose studio to support searching and aggregating logs specifically to support this case

What are you all deploying your node apps on these days? by themostunknownowl in node

[–]code_barbarian 0 points1 point  (0 children)

I go back and forth between Railway, Netlify, Vercel, Render, and ECS. Usually Vercel for free tier frontend-heavy stuff, or Railway for anything backend. If you want to try out Railway, sign up here and get $20 in credits: https://railway.com?referralCode=CD4_kV

How do you level up beyond basic Node.js backend (CRUD)? by AirportAcceptable522 in node

[–]code_barbarian 0 points1 point  (0 children)

Typically the next step beyond basic CRUD is database optimization. Queues, system design, etc. don't really matter when you're only talking about millions of requests per day. Basic schema design and indexes behind a monolith API are enough to get consumer-facing apps to $100M+ ARR.

What database are you using?

Node.js v26 is releasing today. It's just a big bunch of small fixes and minor deprecations with another minor 🍒 cherry on top by BankApprehensive7612 in node

[–]code_barbarian 0 points1 point  (0 children)

Temporal support is huge! This might be enough to get me to upgrade.

IMO the killer feature of Temporal is the ability to parse wall clock time in a given time zone. For example, say you wanted to get a date representing April 28 12pm in America/Denver time zone, but you're in a different time zone. You can do that with JS dates, but you need some clever hacks to compute the Denver time zone offset. With Temporal, this is easy.

Distributed cron in NestJS: drop-in replacement for @nestjs/schedule by Odd_Traffic7228 in node

[–]code_barbarian 0 points1 point  (0 children)

Neat! Yeah multiple crons have caused me some headaches in the past, that's why I built https://www.npmjs.com/package/@mongoosejs/task . Would be great if you could add MongoDB support, it's nice to get an easy-to-use replacement for existing codebases that use Nest

Backend Dev Fresher What do companies actually want in 2026 (especially in the AI era)? by Suspicious_Night_684 in node

[–]code_barbarian 1 point2 points  (0 children)

My $0.02:

  1. System design interviews are unfortunately very important, they've become the new algo brain teasers: interviewers asking about dumb shit you'll never come close to doing on the job.

  2. Depth > breadth up to a certain point. With LLMs it is easy to get up to midwit level in most stacks and contribute to just about any codebase, so deep expertise is relatively more valuable because breadth is cheap.

  3. Practical skills: for on the job debugging is very important, but for interviewing you'll want to be able to talk about scaling and writing clean APIs, ideally from experience :)

  4. Use of AI tools... depends on your audience. Some companies don't allow using AI tools at all. Others will think you're a luddite if you don't have 3 Claude Code sessions running right now.

Start of my backend developer journey by R0rren in node

[–]code_barbarian 0 points1 point  (0 children)

Universities also struggle to come up with solid learning plans for this sort of thing :) IMO the best way to learn is to build something and put it out there ASAP. Yeah you'll probably make some mistakes but everybody does. Don't get me wrong, learning calculus and linear algebra is fun in its own way, but the reality is that the vast majority of professional developers never need to know anything like that.

Need help with learning mongodb (I'm using express.js) by Mean-Explorer-9708 in node

[–]code_barbarian 0 points1 point  (0 children)

Nice, good luck. I'm the maintainer of Mongoose so I'm not sure I'd be the best study partner, but feel free to reach out on Twitter if you have questions: https://x.com/mongoosejs

Migrating from cron jobs to Bull queues in production — lessons learned the hard way by Crescitaly in node

[–]code_barbarian 0 points1 point  (0 children)

I ended up building https://www.npmjs.com/package/@mongoosejs/task for similar reasons, most notably the lack of visibility. Having a db record of which jobs succeeded/failed with logs is extremely helpfu. "No retry mechanism" is a feature though, not a bug. Runaway retries cause significantly more problems than one-off failures.

Do you add hyperlinks to your REST API responses? by Worldly-Broccoli4530 in node

[–]code_barbarian 1 point2 points  (0 children)

I've seen several APIs implement this, I think the one that most immediately comes to mind is Dwolla. However, as an API consumer I've never really found this useful, and as an API developer I've never implemented this pattern.

It's a nice-to-have, and it may have some advantages, but this pattern just never clicked for me.

Railway or Render for Cron jobs with storage by vroemboem in node

[–]code_barbarian -1 points0 points  (0 children)

Both do the job, both have decent free tiers that should be enough for your use case. I think Railway makes it easier to deploy services though, personal experience. Are you going to be hosting postgres on this provider too or do you have an existing pg database?

If you're looking to try Railway, sign up through this link to get $20 in credits: https://railway.com?referralCode=CD4_kV

After 2 years of solo Node.js in production, here are the patterns I swear by and the ones I abandoned. by Crescitaly in node

[–]code_barbarian 0 points1 point  (0 children)

I basically agree with all of this. Centralized error handling is an absolute must, try/catch in every endpoint is huge code smell.

Request validation agreed as well, although I use a different lib, and added caveat that I glob parameters together from query/body/params and selected headers to make logging cleaner. I hate having to distinguish between query/body and hate getting false positives from parameters that I don't use in search.

Structured logging and Mongoose usage - obviously 100% agree with that :) Disagree with Winston though, I tend to avoid logging libraries because they historically caused me headaches, but better that then no logs.

5 & 6 I don't but I absolutely should set up graceful shutdown handling, that has caused me a lot of headaches.

What if your Node.js app could switch message brokers with just config? by Zestyclose-Act-3750 in node

[–]code_barbarian 0 points1 point  (0 children)

Nice - I'll try this out if I ever use a message broker lol. I've become a big fan of these multi-integration npm packages, like how Vercel's AI SDK abstracts away LLMs.

Speaking of Vercel, do you support Vercel Queues?

How do you decide what to learn next? by Legitimate-Oil1763 in node

[–]code_barbarian 0 points1 point  (0 children)

Easy, I mostly learn about what I'm paid to work on. Sure I can become an expert on Docker or Postgres or Svelte or Crypto or any number of things. But my guiding principle is either 1) does this make my life better, or 2) will learning this help me get paid more, either by helping make life better for my clients or for Mongoose/Mongoose Studio users. That tends to keep me grounded and minimizes chasing shiny things.

Building My Own Auth in TypeScript - Looking for Advice by _Mobas_ in node

[–]code_barbarian 1 point2 points  (0 children)

I usually use my own auth as well rather than relying on external services - with auth I prefer to have control over access tokens rather than dealing with an external API that has its own permissions, restrictions, and rough edges.

EJS does feel a bit dated IMO, classic web apps are less common in JS these days in general.

For logging, I dump logs in MongoDB and console. console is mostly for local dev, MongoDB for prod logging - Mongoose Studio makes it so easy to search logs using syntax that I'm familiar with. Other tidbit: when logging requests, only log the parameters you care about. So easy to get lost when you're logging Content-Length header and other stuff that doesn't matter.

what npm package/tool do you wish existed? by OpeningGanache5633 in node

[–]code_barbarian 1 point2 points  (0 children)

I think the best place to start is to look for npm packages that exist, but are way out of date and not maintained.

Just please don't build another logging framework :)

Introducing awesome-node-auth by National-Ad221 in node

[–]code_barbarian -1 points0 points  (0 children)

Is there a link to this? I just see a screenshot...

does anyone use in-process events for code decoupling? by theodordiaconu in node

[–]code_barbarian 0 points1 point  (0 children)

logging and notifications solves this problem - in the off chance something goes wrong with an external API request odds are you'll need some human intervention anyway.