Springboot बाट MongoDB मा डेटा राख्ने तरिका: Nepali Tutorial
from nepalicodelabs Hosted by Dipen Lama
Springboot मा MongoDB मा डेटा राख्ने तरिका सिक्नुहोस्! यस Nepali tutorial शिक्नुहोस्। Learn how to access data with MongoDB in Springboot! Dive into this Nepali tutorial. In this video, we'll explore how to insert data into MongoDB using the Spring Boot framework. Join us as we dive into this tutorial to learn the ins and outs of storing data in MongoDB with Spring Boot. Commands Used in video: MongoDB Connection String: **mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.1.4** Docker Run Command: docker run --name mongo -p 27017:27017 -d mongodb/mongodb-community-server:latest Running Mongosh to Connect to mongoDB: docker exec -it mongo mongosh Command to create database user: db.createUser({ user: 'admin', pwd: 'admin', roles: [{ role: 'readWrite', db:'onlineStore'}] }) Link to download Resources: Docker: https://www.docker.com/products/docker-desktop/ Mongodb Docker Image: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-community-with-docker/ Github link: https://github.com/lamadipen/nepalicodelabs/tree/main/SpringbootCourse/onlineStore-with-mongodb Presenter: Dipen Lama
Embed this episode
No transcript yet.