MongoDB and Mongoose - Create and Save a Record of a Model

Tell us what’s happening:

i think the learning material is too old to work with mongoose. The freecodecamp backend code of this topic has deprieciated.

(node:872) [DEP0170] DeprecationWarning: The URL mongodb://luke:Password1.@freecodecamp-shard-00-00.prjae.mongodb.net:27017,freecodecamp-shard-00-01.prjae.mongodb.net:27017,freecodecamp-shard-00-02.prjae.mongodb.net:27017/?authSource=admin&replicaSet=atlas-doayhj-shard-0&retryWrites=true&w=majority&appName=freecodecamp&ssl=true is invalid. Future versions of Node.js will

###Your project link(s)

solution: https://3000-freecodecam-boilerplate-vgsmarhx5y4.ws-eu117.gitpod.io

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Challenge Information:

MongoDB and Mongoose - Create and Save a Record of a Model

we are working on the new stuff, you will find it in the Certified Full Stack Developer Curriculum

1 Like

Deprecation warnings do not affect the tests in any way. There is nothing preventing you from passing the challenges.


A deprecation warning is just a warning. They inform you of upcoming changes to something. It could be a dependency, or it could be the runtime, but as long as you do not update to a version where the “thing” has actually been deprecated nothing will break.

1 Like

okay thanks for the reply, ill start everything fresh and see if it works. i guess i made a mistake along the way. i thought that mongoose updated the scripts to communicate and freecodecamp scripts were old