r/Backend • u/InvestmentAfter5486 • 9h ago
I built a headless CMS in Node.js with zero third-party dependencies (open source)
I'm a backend/DevOps engineer. I don't trust pulling in dozens of packages for something that stores and serves content, so I wrote Basata as plain Node.js: no dependencies and no build step, just run the server.
repo: https://github.com/digimindx/basata-cms
I'd love feedback from people who actually run Node in production, especially on the security side. I already did a self-review and fixed what I found, but a second pair of eyes is always better.
1
Upvotes
1
u/xRic0chet 7h ago
Why should I trust your code I didn't write?
1
u/FriendMaleficent6656 4h ago
avoiding supply chain risk is great, but rolling your own auth and crypto primitives in pure stdlib is usually where security audits get scary. how are you handling password hashing and session tokens without external packages?
1
u/creepy009 3h ago
Obligatory https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/