re: A crash course on Serverless APIs with Express and MongoDB VIEW POST


Getting note is not defined at notesController.post having a hard time figuring out why that would be not defined


That's strange. Is it undefined because of bad request parameters or is Mongoose not posting to the database at all?


This always happens, I figured it out right after I sent that to you. It was a total brain malfunction on my part. Since I adapted your tutorial for an api using boards instead of notes I did a find a replace changing all of note to board but I didn't take into account the uppercase. I haven't had caffeine yet today, brain not working yet!

Anyways, I really enjoyed your tutorial! I don't find many I like but yours killed it. Thanks!

Sweet! Glad you liked it.

Code of Conduct Report abuse