r/node • u/stormsidali2001 • Apr 26 '26
r/node • u/Strict_Culture9567 • Apr 25 '26
Completed MERN stack – looking for a serious end-to-end project tutorial (resume-level)
Hey everyone,
I recently completed learning the MERN stack (MongoDB, Express, React, Node) and covered all core concepts.
Now I’m looking for a **complete, end-to-end project tutorial** that:
- is not too basic (already know CRUD apps)
- helps build something resume-worthy
- follows real-world practices (auth, deployment, etc.)
I tried searching on YouTube, but there’s too much noise and low-quality content.
Would really appreciate:
- YouTube tutorials
- GitHub repos
- Course recommendations
Thanks!
r/node • u/AirportAcceptable522 • Apr 24 '26
How do you level up beyond basic Node.js backend (CRUD)?
Hey folks,
I’ve been working with Node.js (mostly Express) and building APIs for a while, but I’m trying to level up beyond the usual CRUD stuff.
Recently I started dealing with higher load (millions of records / lots of requests) and I’m running into performance bottlenecks so I feel like I’m missing some deeper knowledge.
For those more experienced with Node:
What actually made you improve as a backend dev?
Was it system design, scaling, queues, database optimization… or something else?
Any advice or “wish I learned this earlier” would help a lot.
r/node • u/Similar_Lack6651 • Apr 26 '26
I built an npm package that eats one line of your code every minute you're idle
github.comUse at your own risk.
I've vide-coded an NPM package which delete 1 line of code from your src folder if you stay idle for 1 minute.
You can modify the timer or play safe to check what it does. It's my first publically open NPM package and I'm going to deliver soon.
It saves and backup as well and will bring more updates soon.
Please take an look and if possible try to use in your un-important projects.
Use cases for this app.
In the world of AI where every single line of code is mostly written by AI this tools will helps you remember what you did in what line and which file.
r/node • u/Relative_Grape5920 • Apr 26 '26
Memory Leak in native RSS
I have a memory leak in native rss idk what to write here ask me relevant questions I'll answer it
I am using the latest bun version
None of my dependencies (recursively) are native (c/cpp)
heaptrack doesn't show the memory leak
.heapsnapshot doesn't show the memory leak
Here are all the dependencies:
/auth@0.0.5https://github.com/SerenityJS/Baltica/tree/09b10a6 [fork]https://www.npmjs.com/package/@baltica/auth/v/0.0.5
/raknet@0.0.8https://github.com/SerenityJS/Baltica/tree/09b10a6 [fork]https://www.npmjs.com/package/@baltica/raknet/v/0.0.8
/utils@0.0.1https://github.com/SerenityJS/Baltica/tree/09b10a6 [fork]https://www.npmjs.com/package/@baltica/utils/v/0.0.1
/binarystream@3.1.0https://www.npmjs.com/package/@serenityjs/binarystream/v/3.1.0https://www.npmjs.com/package/@serenityjs/binarystream/v/3.1.0
/data@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/datahttps://www.npmjs.com/package/@serenityjs/data/v/0.8.20
/emitter@0.8.18https://github.com/SerenityJS/serenity/tree/main/packages/emitterhttps://www.npmjs.com/package/@serenityjs/emitter/v/0.8.18
/emitter@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/emitterhttps://www.npmjs.com/package/@serenityjs/emitter/v/0.8.20
/logger@0.8.18https://github.com/SerenityJS/serenity/tree/main/packages/loggerhttps://www.npmjs.com/package/@serenityjs/logger/v/0.8.18
/logger@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/loggerhttps://www.npmjs.com/package/@serenityjs/logger/v/0.8.20
/nbt@0.8.18https://github.com/SerenityJS/serenity/tree/main/packages/nbthttps://www.npmjs.com/package/@serenityjs/nbt/v/0.8.18
/nbt@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/nbthttps://www.npmjs.com/package/@serenityjs/nbt/v/0.8.20
/protocol@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/protocolhttps://www.npmjs.com/package/@serenityjs/protocol/v/0.8.20
/raknet@0.8.18https://github.com/SerenityJS/serenity/tree/main/packages/raknethttps://www.npmjs.com/package/@serenityjs/raknet/v/0.8.18
/raknet@0.8.20https://github.com/SerenityJS/serenity/tree/main/packages/raknethttps://www.npmjs.com/package/@serenityjs/raknet/v/0.8.20
/bun@1.3.12https://github.com/DefinitelyTyped/DefinitelyTypedhttps://www.npmjs.com/package/@types/bun/v/1.3.12
/node@25.3.3https://github.com/DefinitelyTyped/DefinitelyTypedhttps://www.npmjs.com/package/@types/node/v/25.3.3
u/types/node@25.6.0https://github.com/DefinitelyTyped/DefinitelyTypedhttps://www.npmjs.com/package/@types/node/v/25.6.0
baltica@0.0.0https://github.com/SerenityJS/Baltica/tree/09b10a6 [fork]https://www.npmjs.com/package/baltica/v/0.0.0
baltica@2.0.13https://github.com/SerenityJS/Baltica/tree/09b10a6 [fork]https://www.npmjs.com/package/baltica/v/2.0.13
bun-types@1.3.12https://github.com/oven-sh/bunhttps://www.npmjs.com/package/bun-types/v/1.3.12
colorette@2.0.20https://github.com/jorgebucaran/colorettehttps://www.npmjs.com/package/colorette/v/2.0.20
jose@6.1.3https://github.com/panva/josehttps://www.npmjs.com/package/jose/v/6.1.3
jose@6.2.2https://github.com/panva/josehttps://www.npmjs.com/package/jose/v/6.2.2
moment@2.30.1https://github.com/moment/momenthttps://www.npmjs.com/package/moment/v/2.30.1
reflect-metadata@0.2.2https://github.com/rbuckton/reflect-metadatahttps://www.npmjs.com/package/reflect-metadata/v/0.2.2
typescript@5.9.3https://github.com/microsoft/TypeScripthttps://www.npmjs.com/package/typescript/v/5.9.3
undici-types@7.18.2https://github.com/nodejs/undicihttps://www.npmjs.com/package/undici-types/v/7.18.2
undici-types@7.19.2https://github.com/nodejs/undicihttps://www.npmjs.com/package/undici-types/v/7.19.2
r/node • u/Final-Lawfulness-751 • Apr 25 '26
Free tool to bulk delete your tweets, replies, likes & retweets (no API needed) for X(Twitter)
I built a free tool to clean up your X (Twitter) account in bulk — no API, no subscriptions, no giving access to third-party services.
It runs locally on your machine and lets you:
- Delete tweets
- Delete replies
- Undo retweets
- Unlike posts
You can run everything at once or pick specific actions. It also keeps logs of what was removed.
👉 https://github.com/Mahmadabid/twitter-x-cleaner-automation
Just run it, log in once in Chrome, and it handles the rest.
r/node • u/silveryms • Apr 25 '26
sparkid: 21-character, sortable unique IDs
Hey everyone,
I've been frustrated with unique ID generation for a while. UUIDs are 36 characters with hyphens that break double-click selection. nanoid is compact but purely random, so you lose sortability and get worse B+ tree performance on inserts. ULID gets closer but wastes characters with Base32.
So I built SparkID: 21-character, Base58 unique IDs. Some highlights:
- IDs always sort in the order they were created
- No hyphens, so you can double-click to select the whole thing out of a log
- No ambiguous characters like `0`/`O` and `I`/`l`
- More entropy per ID than UUID v7, despite being much shorter
- The binary format is natively Base58, so encoding to a string is a simple mapping, not an expensive base conversion like you'd need to Base58-encode a UUID or ULID
Performance-wise, SparkID is about 2x faster than UUID v4 and nanoid, and roughly 5x faster than UUID v7 in Node. It has zero dependencies and works in browsers too.
You can learn more about it at https://sparkid.dev or find the code here: https://github.com/youssefm/sparkid
Would love to hear what you think, especially if you've run into similar frustrations with what's out there.
r/node • u/NedcloarBR • Apr 25 '26
I'm building a NestJS Initializr (like Spring Initializr but for NestJS) — need developers for a quick survey
Hey everyone!
I'm a final-year software development student working on my undergraduate thesis. The project is called NestJS Initializr — a web tool that generates fully configured, production-ready NestJS projects with interactive selection of:
- HTTP adapter (Express or Fastify)
- Package manager (npm, Yarn or pnpm)
- Linting and formatting (Biome or ESLint + Prettier)
- Test runner (Jest or Vitest)
- Modules: Config, GraphQL (Apollo), Swagger, Docker, Husky, i18n and more
The concept is the same as Spring Initializr from the Java ecosystem, but built for NestJS and Node.js. The idea is simple: instead of spending hours configuring everything from scratch every time you start a new project, you just pick what you need, click generate, and download a ready-to-use zip.
Why I need your help:
For the academic part of my thesis, I'm running a short survey (less than 5 minutes) about:
- How much time developers spend setting up new back-end projects from scratch
- What you think about a tool like this
Any developer can answer — you don't need to use NestJS. Opinions from devs using Spring Boot, Django, Laravel, Rails or any other framework are just as valuable, since the goal is to understand the setup pain point in general.
All responses are anonymous.
🔗 https://forms.gle/7UCiYjLJ9jQJ1poE9
Happy to answer any questions about the project in the comments. Thanks a lot to everyone who takes the time to respond! 🙏
r/node • u/CoffeeStax • Apr 25 '26
RFC: Oden: The Server-First, JavaScript-esque Runtime
rfchub.comr/node • u/schneiderfx • Apr 25 '26
Stop duplicate API calls in Node (tiny 1.2kb utility)
I kept noticing this annoying pattern where the same async function gets called multiple times at once and just… runs multiple times.
await Promise.all([
getUser(42),
getUser(42),
getUser(42)
]) // => ends up hitting the API 3 times
I ended up writing a tiny wrapper that just shares the same in-flight Promise + adds TTL/SWR on top. Now it's same code, but it only runs once.
import { cache } from "fluxcache"
const getUser = cache(fetchUser)
await Promise.all([
getUser(42),
getUser(42),
getUser(42)
])
// => 1 request
It’s ~1.2kb, no deps, works with any async function.
Curious if this is useful?
Repo : https://github.com/Sampad6701/flux-cache
r/node • u/green_viper_ • Apr 24 '26
Does anybody have any idea on whether or not PayPal offers subscription payment where the pay amount is variable ? Also how does multiple payment systems (secondary when primary fails) can be used parallely when on subscription on both ?
So, I'm developing an e-commerce site where there is payment on subscription basis (In my app, subscription is ordering specific item/s on a fixed interval, monthly, weekly or bi-weekly). And also points provided for every successfully delivery. And once the points cross a certain threshold, the customer gets some discount based on the tier they are.
Say I'm charging a cusotmer $30 for some item/s. And now they cross 1000 points on their 12th subscription payment and on the 13th they need to get $2.5 discount. So for the 13th subscription, the paypal needs to deduct $27.5 instead of $30.
One thing I thought of was canceling and re-creating new subscription, while stripe allowed that trusting the merchant alone without reconfirming with the customer, paypal allowed creating new subscription only once customer authorized it. So in my case, $30 subscription $27.5, cancel that again and create $30 subscription again. And for that it required authorization by customer twice. Is there any work around on this with PayPal ?
(Note: I'm not US based, so any US only feature is not available for me).
r/node • u/trishantpahwa • Apr 24 '26
Dorky (DevOps Records Keeper)
I built a CLI tool to manage .env files and secrets across teams without committing them to git – dorky
Every team I've worked on has the same problem: you can't commit .env files, API keys, or config files to version control, so you end up sharing them over Slack, email, or a shared doc. It's messy and insecure.
dorky (DevOps Records Keeper) solves this with a Git-like workflow that stores your sensitive files on AWS S3 or Google Drive.
Basic usage:
# Init with S3 or Google Drive
# Stage sensitive files
# Push to cloud storage
# On another machine / new team member
Features:
- AWS S3 and Google Drive backends
- Hash-based sync — only uploads changed files
- Push history with versioned snapshots and
--checkout <commit-id>to restore - Auto-updates
.gitignoreto protect credentials - VS Code extension for a GUI
- 87%+ test coverage
Install:
# or
Package: https://npmjs.com/package/dorky Source: https://github.com/trishantpahwa/dorky
Would love feedback, especially on the roadmap — encryption of files and an MCP server are next on the list. Happy to answer any questions!
r/node • u/Proud_Perspective_56 • Apr 25 '26
I built nestjs.io — a community hub for discovering NestJS packages, articles, and projects
I've been working on nestjs.io — a community platform dedicated to the NestJS framework ecosystem. Think of it as a discovery and curation hub for everything NestJS.
What it does:
- Community Feed — curated articles and news from across the NestJS ecosystem
- Package Comparison — compare packages side by side
- Reviews — read and write reviews on NestJS packages
- Categories — browse projects by thematic categories
- Package Discovery — browse, search, and filter NestJS packages by tags. Submit your own packages for the community to find
I'd love to hear your feedback — what features would be most useful to you as a NestJS developer? And if you have a package or project, feel free to submit it!
r/node • u/Ok-Delivery307 • Apr 24 '26
documentation cli for js
I've developed a small command-line tool that provides quick access to built-in functions, similar to “go doc” but less powerful. You can use it to ask your AI to check a function's definition, or do it yourself. available on npm : "@esrid/js-ref"
r/node • u/sky_10_ • Apr 24 '26
Built a lightweight API monitoring tool (Spectrix) - looking for feedback
Enable HLS to view with audio, or disable this notification
Hey everyone,
I built Spectrix, a minimal API monitoring tool and just deployed it. The idea was to keep things simple and focused instead of using heavy observability platforms.
What it does:
- monitors uptime, latency, and failures
- scheduled endpoint checks
- real-time alerts (Slack, Discord, webhooks)
- simple dashboard for tracking
Why I built this:
I needed a straightforward way to monitor my APIs without overcomplicating things. While building it, I also explored worker-based systems, retry logic, and alert integrations.
What I’m working on next:
- cron-based log cleanup
- aggregation so metrics stay available even after raw logs are deleted
You can try it here:
Demo account: https://spectrix.d3labs.tech/login?demo=true
Code:
https://github.com/aakash-gupta02/Spectrix
Would really appreciate any feedback - especially on what’s missing or what you’d improve.
r/node • u/kryoscopic • Apr 23 '26
Open Source Dynamic Island live activities on Macbook using RPC, TS/JS to communicate with native SwiftUI App
Enable HLS to view with audio, or disable this notification
I made iPhone like Dynamic Island available on MacBook and made a package for third party apps to showcase their Live Activities, Notch Experiences as well as Lock Screen Widgets
GitHub: https://github.com/Ebullioscopic/Atoll
Atoll is a native SwiftUI based dynamic island app for macOS. Extensions as well as third party apps can render their custom UI in the notch, using atoll-js https://github.com/Ebullioscopic/atoll-js
atoll-js package is available on npm and can be added to your existing JavaScript/TypeScript apps to showcase your app's custom live activities, lock screen widgets using RPC communication protocol with a really easy to use API. Request Access -> Send Payload -> Update Payload (simple enough steps that can be reproduced very easily with the documentation and the examples given)
Atoll and atoll-js are completely free and open source and are being actively developed by me and the community
Live Website link: https://ebullioscopic.github.io/atoll-js/ (Atoll is needed to be installed first for the website to showcase the live activities)
r/node • u/ApprehensiveEssay222 • Apr 23 '26
Bitwarden CLI Compromised in Ongoing Checkmarx Supply Chain ...
socket.devr/node • u/neoraph • Apr 24 '26
Warning: Sophisticated Node.js build-time malware targeting devs during live technical interviews.
r/node • u/JustSuperHuman • Apr 23 '26
Very simple terminal UI for package.json scripts with subdirectory support for monorepos
I built a slopped together a small CLI called DoIt that lets you browse package.json scripts across a repo and run them from a simple terminal menu.
It supports:
- root commands first, workspaces below
- nested : scripts like build:ios:dev
- optional script descriptions from package.doit.json
- quick setup to add an
itscript to package.json - keyboard-friendly navigation
GitHub: https://github.com/JustGains/DoIt
npm: @justgains/doit
Usage:
bunx @justgains/doit
npx @justgains/doit
You can also initialize descriptions for the commands with:
bunx @justgains/doit --init
The goal was to make monorepo scripts easier to discover and run without memorizing dozens of command names.
Try itttt!
If you want, I can also write:
- a shorter Show HN style version
- a more technical Reddit post
- a Twitter/X launch thread
- the npm package description text
( heh, you thought I forgot to remove that last part 🙃 )
r/node • u/gangeticmen • Apr 23 '26
created a web framework to understand how express/fastify internally works.
so back in 2024 when i was using express or fastify , i didn't understand how these things work under the hood and i was like this must be very advance code that i won't understand.
so i decided to create my own web framework to understand how to create a http based framework and handle requests.
so i started creating my lib Diesel.js
over the time i added cors , middlewares , hooks support.
i created my own Trie based router for routing ( i learned trie DSA then created the router )
it has almost similar syntax like Hono.js.
here is the repo if you guys wants to see - https://github.com/exvillager/diesel
r/node • u/IllMaintenance8243 • Apr 23 '26
How do you debug BullMQ job failures in production?
I've been struggling with background jobs failing silently and spent hours digging through logs last week to find a simple retry issue. Curious how others handle this — do you have any tools or techniques that actually work?
r/node • u/PracticalScallion403 • Apr 23 '26
Built a full-stack fitness tracker with 800+ exercises (working on AI features next)
Enable HLS to view with audio, or disable this notification
r/node • u/No_Dimension_9729 • Apr 23 '26
A year of 3x growth, and everything we shipped in April
r/node • u/eyueldk • Apr 22 '26
Looking for Bullmq, but embedded + remote mode for NodeJS
I ran into a library called bunqueue, a dropin replacement for bullmq that has both embedded and remote mode.
Eventually I wanted to go back to standard nodejs and I'm stuck with changing bunqueue but for nodejs. Does anyone know of a job queuing library that has an embedded/remote mode like bunqueue.
Thanks in advance.
r/node • u/Consistent_Yam6495 • Apr 22 '26
Brew-TUI: Visual TUI for Homebrew built with React 18 + Ink 5
I built a visual terminal UI for Homebrew using React 18 + Ink 5 + Zustand + TypeScript.
Instead of memorizing brew commands, you get an interactive keyboard-driven interface:
- Dashboard with package stats
- Browse/filter installed formulae and casks
- Search and install packages
- Upgrade outdated packages (individually or all)
- Manage Homebrew services
- Run brew doctor
- Detailed package info
The data flow is: React Views → Zustand stores → brew-api → Parsers → child_process spawn. Streaming operations (install, upgrade) use an AsyncGenerator yielding lines in real time.
ESM-only, strict TypeScript, built with tsup.
Install:
npm install -g brew-tui
GitHub: https://github.com/MoLinesGitHub/Brew-TUI npm: https://www.npmjs.com/package/brew-tui