Advanced Node and Express - Implement the Serialization of a Passport User

Hello
on the exercices the part : Database connection should be present is not validate.
and i don’t know if i’m on the good way.
To do that i used replit and on the Sample.env file i put this code

PORT=8080
NODE_ENV=development
MONGO_URI=''
MONGO_URI=mongodb+srv://Wilfried:MyTruePassword@cluster0.grxc0qq.mongodb.net/?retryWrites=true&w=majority

where MONGO_URI=... with my true password of MongoDb.

I have to make another thing for the database connection ?

solution: boilerplate-advancednode - Node.js Repl - Replit

Your browser information:

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

Challenge: Advanced Node and Express - Implement the Serialization of a Passport User

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.