Tell us what’s happening:
I have completed the project and it works but it’s not passing freeCodeCamp’s tests. I don’t understand the console messages, some help would be appreciated😅.
Your code so far
Here is my repl.it project.
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36.
Challenge: URL Shortener Microservice
Link to the challenge:
NOTE: I highly recommend you not share your DB URI credentials. Make use of a
Otherwise, please see one of these topics:
More details in my final reply:
Hope this helps
Oh, I didn’t realize haha. I have updated it to use a
.env file. Also I followed your advice and it’s passing all the tests now. Thank you for your help!