For this project should I create a new database or a new collection in mongoDB?

For this project should I create a new database or a new collection in mongoDB?

Your code so far

Your browser information:

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

Challenge: URL Shortener Microservice

Link to the challenge:

If you have a Mongo database that you’re using for freecodecamp lessons, there’s no real need to create an entirely new database. I’d most likely simply create a collection for this particular lesson within that.

1 Like

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