Learn2Crack

Hosting Node.js and MongoDB projects for Free

There are many hosting websites which provide free PHP and MySQL hosting for testing our projects. It is somewhat hard to find a free service to host our Node.js and MongoDB projects. After searching for some time found two services which help to host our Node.js and MongoDB projects for free.

First of all, great tutorial. Really useful. The only problem I have is the DB URL. I am getting an “error”:

Db.prototype.authenticate method will no longer be available in the next major r elease 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate usin g MongoClient.connect with auth credentials.

I find the tutorail how to fix it but I don’t know how to create that admin account, because I don’t see admin database.