Eduardo Lima
I code, as simple as that!
Very nice tutorial. Many many thanks.
Here in this module I get
Error: MongoParseError: options usefindandmodify, usecreateindex are not supported
Super helpful article, I'm currently following a course that includes Node.js and MongoDB. This article clarifies things, thanks for sharing and for leaving links to direct docs.
First of all, this series is so helpful and I love teas so I'm excited to use my API to store my favorites :) When I did the MongoDB setup, Allow Access From Anywhere was not an option so I just entered the same whitelist entry and confirmed.
Glad, I found this article. In fact it my first article to read on hasnode and reason to join hashnode. Excellent stuff π
Revisioning and learning new things of my Node.js knowledge with this series. π
The series gets better every time, I love this!
Amazing article! Just a heads up, if you're using Mongoose 6 you'll need to remove the
{ useFindAndModify: false,useUnifiedTopology: true, useNewUrlParser: true, useCreateIndex: true}part of the code, won't work otherwise... (Error: MongoParseError: options usefindandmodify, usecreateindex are not supported)