DEV Community


Discussion on: Learning Node.js building a simple Express API - Part II

filipedomingues profile image
Filipe Domingues Author

Thanks for the feedback!
Yes you are right, I wrote src\index.js instead of src\app.js.
About parsing on Object destructuring I don't think it's possible but your solution works great. I didn't focus too much on validations for now since I'm going to come back to the routes when I finish the database module. Anyway you are right, you should use '===' whenever you can.