LocalLY hosted mongo db and mongoose Connection Error ECONNREFUSED


I was using the following code to connect to locally hosted mongo db from express application using mongoose. But my connection was getting refused. After some reseach i come to know that instead of using localhost i should use 127.0.0.1 so i need to update my connection string as follows to fix the issue.

Read More LocalLY hosted mongo db and mongoose Connection Error ECONNREFUSED

Create Database and add user with read/Write access in mongo db using mongosh


To create a database and add user to it with read/write access use following command. 1- Swith to database you want to add user to using following command 2- Create the admin user with read and write access: 3- Verify the creation of the user:

Read More Create Database and add user with read/Write access in mongo db using mongosh

Strapi Rest API


To pupolate all items inside a specific content-type use To populate Featured Image To populate specific locale e.g. ar-AE, make sure under user permission i18n plugin is enabled.

Read More Strapi Rest API