Jack of all trades, ... • 6d
Two rules for a production-grade app: - Never trust Mongo update funcs (findByIdAndUpdate, updateOne): they bypass pre-save hooks, so your logic never runs - Never hard delete: for auditability; use soft delete instead Learned the hard way :) #Lea
See MoreDownload the medial app to read full posts, comements and news.