r/Backend • u/InvestmentAfter5486 • 4d 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.
0
Upvotes
2
u/xRic0chet 4d ago
Why should I trust your code I didn't write?
2
u/FriendMaleficent6656 4d 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?
4
u/AintNoGodsUpHere 3d ago
I can't say what I want to say so I'll lie.
Good job, great work, keep coding.
1
u/creepy009 4d ago
Obligatory https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/
1
u/temporaryresident5 20h ago edited 20h ago
so what ?