---
title: "Comment by Eduardo Lima on \"Build a REST API with Node.js: Integrating MongoDB Atlas\" | Hashnode"
description: "Amazing article! Just a heads up, if you&#39;re using Mongoose 6 you&#39;ll need to remove the { useFindAndModify: false , useUnifiedTopology: true , useNewUrlP"
url: "https://hashnode.com/posts/build-rest-api-with-nodejs-mongodb-atlas/5f29ec23d7d55f162b5d9ef9/comment/63043f1309d19537666eb55c"
---

[Discussion](https://hashnode.com/posts/build-rest-api-with-nodejs-mongodb-atlas/5f29ec23d7d55f162b5d9ef9)

Comment [Build a REST API with Node.js: Integrating MongoDB Atlas](https://hashnode.com/posts/build-rest-api-with-nodejs-mongodb-atlas/5f29ec23d7d55f162b5d9ef9)

[Eduardo Lima](https://hashnode.com/@Esphios)

[Aug 23, 2022](https://hashnode.com/posts/build-rest-api-with-nodejs-mongodb-atlas/5f29ec23d7d55f162b5d9ef9/comment/63043f1309d19537666eb55c)

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)

[Victoria Lo](https://hashnode.com/@victoria)

[Aug 24, 2022](https://hashnode.com/posts/build-rest-api-with-nodejs-mongodb-atlas/5f29ec23d7d55f162b5d9ef9/comment/63043f1309d19537666eb55c#reply-6305bf5747cfea48d095b2f3)

Great thanks! This article is written before Mongoose 6. I will have to update the content soon 😊

[Fer Torres](https://hashnode.com/@fertorres)

[Nov 14, 2023](https://hashnode.com/posts/build-rest-api-with-nodejs-mongodb-atlas/5f29ec23d7d55f162b5d9ef9/comment/63043f1309d19537666eb55c#reply-6553ab7afbdaaf31319edcbe)

Cool Eduardo! This is some info that I'll need to update the project! Thanks!
