u/ecaresin r/node • Recommends
On “I am a Backend Engineer and getting fired soon”
Hey, sorry to hear about that, I have not digged in details, but checking the code I see that you never validat incoming data (either in the querystring or in the body). This is actually a pretty bad practice as it can lead to several bugs or even security incidents (as nosql injections in your case) - here is a quick talk on that latest topic [video