Hi @Mayank_Saini,
I see you shared a screenshot of an error message. While screenshots are great, but we always encourage users to share the code and error message in a textual format for better visibility and searchability.
However, looking at the screenshot you shared, the error message indicates that you need to install MongoDB on your local machine. You can refer to the MongoDB documentation to install MongoDB locally.
Rather, if you’d prefer a quicker option, you can also spin up a free M0 tier MongoDB Atlas cluster. This way, you can get started right away using the SRV connection string in your application.
I hope it helps! Feel free to reach out in case you need any further assistance.
Best,
Kushagra