Think Constructive
Think Constructive
  • 91
  • 895 970
Project with Spring Boot and MongoDB | How to build a Spring boot project with MongoDB
Project with Spring Boot and MongoDB will help software engineers to develop the skills to build REST APIs using Java Spring Boot with database as MongoDB.
Here 3 layer project architecture i.e. controller layer, service layer and repository layer is explained and developed with DTO design pattern, entity and databases. This project is done with latest Spring Boot version 3.4 and latest Java version 23 and MongoDB with Docker. It is tested using Postman tool and MongoDB Compass.
#springbootproject #springboot #projectwithspringboot #restapitutorial #javaspringbootproject #springboot #springboot3 #mongodb #restapi #java #docker #softwaredeveloper #thinkconstructive #eshapuri
In this session complete project is build from scratch, hence, feel free attend this course.
Key Concepts
Spring Boot: Provides a framework for building production-ready Spring applications with minimal configuration.
Spring Data MongoDB: Simplifies data access with MongoDB using Spring Data's repository abstraction.
RESTful APIs: Expose your application's functionality through HTTP endpoints.
Postman: Test the REST APIs
MongoDB Compass: GUI Dashboard for MongoDB
Docker: Docker is a platform that packages applications and their dependencies into isolated, portable containers.
More sessions of Java Spring Boot with demonstration are available here. Below are the links of the playlists of the tutorials -
Docker Tutorial -
ua-cam.com/video/sjuexyPnzN8/v-deo.html
Spring Boot Devtools -
ua-cam.com/video/fu9Z143Y88E/v-deo.html
Java Spring Boot Playlist -
ua-cam.com/play/PLcs1FElCmEu121gqGwlQt47d0SqNkzSTK.html
Microservices using Java Spring Boot , Spring Cloud -
ua-cam.com/play/PLcs1FElCmEu25gt4hcgo6rkKhk2Ud57uN.html
Spring Security for Spring Boot applications -
ua-cam.com/play/PLcs1FElCmEu2eecQE2SuuXsAjmmB7qbPy.html
Java 8 Features -
ua-cam.com/play/PLcs1FElCmEu1J9Uv7GSMpl5JdcZjT7yDa.html
Kindly subscribe to the channel for getting regular updates of the new sessions/ courses on Software / Computer Application topics by clicking on ‘Subscribe’ button on your screen.
Let's get connected 👇🏻
- UA-cam: bit.ly/thinkconstructive
- Official Website: thinkconstructive.com/
- Instagram: thinkconstructive
- Twitter: TConstructive
- LinkedIn: www.linkedin.com/in/eshapuri/
Chapters ⏰
00:00:00 Session Highlights
00:00:11 Welcome Note
00:00:50 What is MongoDB
00:01:35 What is Spring Boot
00:02:27 3 Layer Spring Boot Project Architecture
00:05:30 Project Detail
00:06:12 Bootstrap Spring Boot Project with Spring Initializr
00:09:35 Spring Boot Project Refactoring
00:11:34 Understanding pom.xml
00:14:49 Understanding Docker compose.xml
00:15:58 Run Spring Boot Application and Test
00:19:41 Create Controller Layer Spring Boot
00:20:29 Exposing CRUD Operations Spring Boot
00:30:55 Testing REST APIs using Postman
00:35:40 Create Database Layer Components Spring Boot
00:35:51 Create Entity using Java Records
00:37:26 Create DTO - Data Transfer Object using Java Records
00:38:00 Create Converter for Entity and DTO
00:43:10 Create Repository Layer Spring Boot and MongoDB
00:47:57 Create custom CRUD methods in MongoRepository
00:54:54 Create Service Layer Spring Boot
01:08:57 Refactor Controller Layer
01:16:16 Run Spring Boot Application
01:17:51 Test REST APIs CRUD operations using Postman Tool
01:25:59 MongoDB Compass Overview and Download
01:27:15 Create connection between MongoDB Compass and Spring Boot Application
01:27:46 Check Data in the MongoDB Database
01:29:25 Congratulations and Thank You
Queries 🤔 ❓
spring boot project
spring boot rest api project
spring boot latest version project
spring boot crud project
spring boot 3 project
spring boot project step by step tutorial
spring boot 3 project step by step tutorial
bootstrap spring boot project
bootstrap spring boot project using spring initializr
How to build a Spring boot project with MongoDB
spring boot development
spring boot mongodb docker
mongodb compass
spring boot mongodb project
building a spring boot project with mongodb step by step tutorial
java spring boot mongodb project
how to use mongodb in java spring boot project
how to use mongodb in java project
simple project with spring boot and mongodb
spring data mongodb
spring boot with mongodb crud example
java records
docker compose.yaml
mongodb with docker
how to connect spring boot with mongodb
what is mongorepository
spring data mongodb maven
spring boot with mongodb example
Переглядів: 80

Відео

Docker Spring Boot Tutorial | Docker Course with Java Spring Boot Application
Переглядів 4,5 тис.4 місяці тому
How to dockerize spring boot application? Docker Spring Boot Tutorial | Docker Course | Introduction to Docker | Docker Tutorial for beginners 2024 #springboot #springbootdocker #docker #thinkconstructive #eshapuri #java #restapi #softwareengineer #softwaredeveloper #dockercourse #dockertutorial #springbootproject Let's learn to Dockerize Java Spring Boot Application. This session will be helpf...
What's new in Spring Boot 3 ? | Spring Boot 3.2 New Features
Переглядів 5 тис.Рік тому
Whats new in spring boot 3? - Spring Boot 3 Whats new? Latest features of spring boot 3.2 Spring Boot 3.2 New Features #springboot #springbootfeatures #thinkconstructive #eshapuri #springboot3.2 #springbootnewfeatures #springbootinterviewquestions #softwaredeveloper #javadeveloper #backenddeveloper #softwareengineer #springbootdeveloper #javabackenddeveloper Spring Boot 3.2 New Key Features are...
Spring Boot Actuator | Java Spring Boot Tutorial
Переглядів 14 тис.Рік тому
Spring Boot Actuator , Java Spring Boot Tutorial #springboottutorial #springbootactuator #thinkconstructive #eshapuri #springboot #java #springtutorial #springbootinterviewquestions #actuatorinspringboot #whatisspringbootactuator #springbootactuatortutorial #springbootrestapi #restapi #softwaredeveloper #javadeveloper #backenddeveloper #softwareengineer #springbootdeveloper #javabackenddevelope...
How To Create A Java Spring Boot Project With Gradle (Tutorial With Demonstration)
Переглядів 28 тис.Рік тому
Let's build Java Spring Boot project with Gradle build tool. Spring boot project can be build using Gradle and Maven. Both build tools has their own advantageous. In this tutorial, we will learn what is spring boot, what is gradle, gradle spring boot project setup from scratch using spring initializer, building rest api, testing rest api using postman and chrome browser. Key points of the sessi...
Java Spring Boot Logging Tutorial with Demonstration
Переглядів 27 тис.Рік тому
Java Spring Boot Logging Tutorial with Demonstration using SLF4J and Logback. In this course, Spring Boot Logging is discussed in detail. Following topics are covered - Maven dependency using pom.xml Slf4J details Logback details Why logging is important How does Spring Boot supports logging How to implement logging in Spring Boot project Log levels (Info, Warn, Error, Debug, Trace) and more......
Microservices Java Spring Boot Resilience4J Tutorial | Circuit Breaker Pattern | Spring Cloud
Переглядів 6 тис.Рік тому
Microservices Java Spring Boot Resilience4J Tutorial | Circuit Breaker Pattern | Spring Cloud | Maven | pom.xml dependencies | Google Chrome Browser | IntelliJ IDEA editor #microservices #resilience4j #springboot #springcloud #java #thinkconstructive #eshapuri #javaspringboot #softwaredeveloper #softwareengineer #softwareengineering #technology #json Some key Spring Boot annotations which are d...
Automatic Reload Changes in Spring Boot Application | Spring Boot Tutorial | DevTools
Переглядів 9 тис.Рік тому
In this Spring Boot Tutorial we will learn how to reload changes automatically in Spring Boot Application. This video will give detailed explanation and demonstration of the automatic reload of any changes done in Java Spring Boot application. This will demonstrate spring boot application server automatic restart as soon as any changes happens. This demonstration includes variety of scenarios a...
Microservices API Gateway Tutorial | Spring Cloud | Java Spring Boot
Переглядів 13 тис.2 роки тому
Build API Gateway for Microservices using Spring Cloud Gateway for Java Spring Boot Microservices. In this tutorial we will learn What and Why of API Gateway and also How to implement API gateway and How to test the services. This is the fourth session of Microservices series. In this session, Api gateway is bootstrapped with spring initializer, maven pom dependencies are discussed (cloud gatew...
Microservices Service Registration and Discovery | Spring Cloud | Netflix Eureka
Переглядів 9 тис.2 роки тому
Java Microservices tutorial for Service Registration and Discovery using Spring Cloud Netflix Eureka library. Spring cloud netflix eureka is explained in detail with demonstration. Here 3 microservices will communicate with each other with the help of eureka server and services will act as eureka client. This complete project is developed using Spring Boot and Spring Cloud. Kindly attend the fu...
User Authentication with Spring Security in Spring Boot Tutorial | Java
Переглядів 10 тис.2 роки тому
User Authentication with Spring Security in Spring Boot Tutorial covers the detailed explanation of spring security for in memory user authentication with latest methods / mechanism. All required classes and libraries are discussed and followed by demonstration. Java spring boot project is further evolved to store and authenticate the in memory users and the later tested with many scenarios. Ki...
Microservices with Spring Boot Tutorial | Services Creation Demonstration
Переглядів 8 тис.2 роки тому
Microservices with Spring Boot Tutorial | Services Creation Demonstration
Spring Security | What, Why and How of Securing Spring Applications 🕵
Переглядів 13 тис.2 роки тому
Spring Security | What, Why and How of Securing Spring Applications 🕵
Microservices Tutorial | Why, What and How of Microservices Architecture
Переглядів 9 тис.2 роки тому
Microservices Tutorial | Why, What and How of Microservices Architecture
Java Spring Boot REST API Documentation | What, Why and How of Swagger
Переглядів 31 тис.2 роки тому
Java Spring Boot REST API Documentation | What, Why and How of Swagger
Master Unit Testing Java Spring Boot REST API Application in One Shot | Full Course
Переглядів 102 тис.2 роки тому
Master Unit Testing Java Spring Boot REST API Application in One Shot | Full Course
Java Linked List and Array List Tutorial With Demonstration
Переглядів 1,8 тис.2 роки тому
Java Linked List and Array List Tutorial With Demonstration
Java Spring Boot REST API JSON Response Handling Tutorial with Demonstration
Переглядів 37 тис.2 роки тому
Java Spring Boot REST API JSON Response Handling Tutorial with Demonstration
Java Method Reference Tutorial with Demonstration | Java 8 Features
Переглядів 1,9 тис.2 роки тому
Java Method Reference Tutorial with Demonstration | Java 8 Features
Exception Handling in Spring Boot REST API Explained With Demonstration
Переглядів 65 тис.2 роки тому
Exception Handling in Spring Boot REST API Explained With Demonstration
Functional Interface in Java Explained with Demonstration | Java 8 Features
Переглядів 1,9 тис.2 роки тому
Functional Interface in Java Explained with Demonstration | Java 8 Features
Creating Java REST API with Spring Boot , Spring Data JPA and MySQL | REST API CRUD Operations
Переглядів 118 тис.2 роки тому
Creating Java REST API with Spring Boot , Spring Data JPA and MySQL | REST API CRUD Operations
Java Spring Boot with MySQL using Spring Data JPA Full Tutorial
Переглядів 21 тис.2 роки тому
Java Spring Boot with MySQL using Spring Data JPA Full Tutorial
Java REST API with Spring Boot Tutorial | REST API CRUD Implementation
Переглядів 297 тис.2 роки тому
Java REST API with Spring Boot Tutorial | REST API CRUD Implementation
Python Type Casting Tutorial with Demonstration | Python Basics | L-8
Переглядів 2532 роки тому
Python Type Casting Tutorial with Demonstration | Python Basics | L-8
Learn Java Stream API Tutorial with Demonstration | Java 8 Features
Переглядів 3 тис.2 роки тому
Learn Java Stream API Tutorial with Demonstration | Java 8 Features
Python Input and Output Functions with Examples | L - 7
Переглядів 6452 роки тому
Python Input and Output Functions with Examples | L - 7
Streams & Collectors for Grouping & Counting Scenarios | Java 8 Features
Переглядів 2,2 тис.2 роки тому
Streams & Collectors for Grouping & Counting Scenarios | Java 8 Features
Java Lambda Expressions Tutorial with Demonstration | Java Key Interview Question | Java 8
Переглядів 4,4 тис.2 роки тому
Java Lambda Expressions Tutorial with Demonstration | Java Key Interview Question | Java 8
Python Sequence | Python String Immutability | Python Functions | Python Escape Character | L - 6
Переглядів 2022 роки тому
Python Sequence | Python String Immutability | Python Functions | Python Escape Character | L - 6

КОМЕНТАРІ

  • @blackjackal9506
    @blackjackal9506 3 години тому

    Just what I was looking for, thank you ma'am for such amazing explanation!

    • @ThinkConstructive
      @ThinkConstructive 3 години тому

      Welcome, I'm glad you found it helpful! ❤️ Stay connected and share with others too! Thank you so much!

  • @kshitiz7129
    @kshitiz7129 4 години тому

    finally a video after 4 months. Please keep uploading videos. Your explaination is very good.

    • @ThinkConstructive
      @ThinkConstructive 3 години тому

      Thank you for your patience ❤️ I'm back with more videos. Stay connected and share with others too!

  • @ThinkConstructive
    @ThinkConstructive 4 години тому

    Why to “Build a Project using Java, Spring Boot and MongoDB” ? Because Spring Boot and MongoDB provide a powerful combination for building modern, data-driven applications. By leveraging the strengths of both technologies, you can create robust, scalable, and maintainable solutions. Code along with the session to get maximum benefit from this session. Subscribe and Share with fellow developers! Keep learning, keep growing! Cheers, Esha

  • @jayanth1191
    @jayanth1191 4 години тому

    Hi mam Can you please make a detailed video spring security

    • @ThinkConstructive
      @ThinkConstructive 4 години тому

      Hello, Sure will Include it in my plan. Please stay connected and share with others too!

  • @0shaad
    @0shaad День тому

    20:55 it's a train

  • @kshitiz7129
    @kshitiz7129 3 дні тому

    Thank You mam for this. please keep uploading videos

    • @ThinkConstructive
      @ThinkConstructive 3 дні тому

      You're welcome! Glad you found it helpful. More videos coming soon. Stay connected and please share with others too 😊

  • @niharika-s9u
    @niharika-s9u 5 днів тому

    Hello mam.... Can you also make a video on how to connect backend springboot and database to the front end using angular in visual studio

  • @niharika-s9u
    @niharika-s9u 6 днів тому

    Very useful.... I appreciate

    • @ThinkConstructive
      @ThinkConstructive 6 днів тому

      I'm glad you found it helpful! Thank you ❤️ Stay connected and share with others too!

  • @s.chriswin4222
    @s.chriswin4222 9 днів тому

    Mam. Please continue the Authorization using spring security. Hardly needed.

  • @SeaHorseIsFlying
    @SeaHorseIsFlying 10 днів тому

    At 27:12, when there is no database involved, why you get "c2" can get the c2 data you just created? Mine is still c1's data

  • @Wearefriends-jf6vy
    @Wearefriends-jf6vy 11 днів тому

    Thanks a lot!! Can you explain warn and error in SLF4J ??

  • @shreyojitdas9333
    @shreyojitdas9333 12 днів тому

    make can you teach GCP

  • @devanshimittal7986
    @devanshimittal7986 15 днів тому

    very nicely explained !

  • @anupamkumar2187
    @anupamkumar2187 15 днів тому

    How about the order of elements determined because in map you provided elements in order data, http status and message but in response getting in reverse order.

  • @beautyinsideout6422
    @beautyinsideout6422 19 днів тому

    26:20 is where the real game starts.

  • @beautyinsideout6422
    @beautyinsideout6422 20 днів тому

    Thank you a lot Mam. May God bless you and family.42:41 was very helpful for me.

  • @rajivshinde2166
    @rajivshinde2166 21 день тому

    Thanks mam , so well explained ❤

  • @ajoybiswas754
    @ajoybiswas754 24 дні тому

    Love your teaching please make some advance level videos...

    • @ThinkConstructive
      @ThinkConstructive 13 днів тому

      I'm glad you found it helpful, more advanced concepts coming soon! 😊

  • @deepakrawat9823
    @deepakrawat9823 24 дні тому

    great job mam

  • @echo6993
    @echo6993 25 днів тому

    You are amazing. Very useful video. could you please apply this concept if like I have a big project and microservices contact each other. would they be in separate container or one that include them all ?

    • @ThinkConstructive
      @ThinkConstructive 9 днів тому

      Thank you so much for your kind words ❤️❤️ Each Microservices should be in a separate container, because it simplifies the management of Microservices such as Scaling, reliability etc. Keep Learning! Stay connected and share with others too 😊

  • @deepakrawat9823
    @deepakrawat9823 26 днів тому

    great for beginners.

  • @kishore5276
    @kishore5276 28 днів тому

    Sister u made my day....The best content u have ...and no comments ❤❤❤❤❤

    • @ThinkConstructive
      @ThinkConstructive 13 днів тому

      That’s so sweet to hear! Thanks for the love, I’m glad you loved it! ❤❤

  • @jeetech_marathi
    @jeetech_marathi 28 днів тому

    Thank you mam🙏

    • @ThinkConstructive
      @ThinkConstructive 13 днів тому

      You're welcome! I'm glad you found it helpful. 😊

  • @Dhananjay-c8f
    @Dhananjay-c8f Місяць тому

    One of the best explanation, thanku

  • @jeetech_marathi
    @jeetech_marathi Місяць тому

    Thank you mam

  • @aritrakhatua1482
    @aritrakhatua1482 Місяць тому

    25:30= Postmapping api test,

  • @privateuse4157
    @privateuse4157 Місяць тому

    Whata about exceptions

    • @ThinkConstructive
      @ThinkConstructive 13 днів тому

      Please check the Exceptions session here - ua-cam.com/video/L2o485T70Do/v-deo.html Playlist link for the Spring Boot Series is - ua-cam.com/play/PLcs1FElCmEu121gqGwlQt47d0SqNkzSTK.html

  • @PrakashPonnusamy-x4e
    @PrakashPonnusamy-x4e Місяць тому

    Mam, Please provide authorization video in spring security.

  • @gayatrimdr
    @gayatrimdr Місяць тому

    Clear and informative session. Thanks a lot ma'am. Could you please make video on Springboot rest api using third party API Or is there any video already present could you please share the link here?

    • @ThinkConstructive
      @ThinkConstructive 13 днів тому

      Thank you so much 😊 I'll add the suggested video soon!

  • @prasanthAthiMoments
    @prasanthAthiMoments Місяць тому

    Very good session everybody can easily understand the logic while you explain

  • @monikavats5796
    @monikavats5796 Місяць тому

    Amazing...I got clear all my doubts after watching this...thank you so much mam.

    • @ThinkConstructive
      @ThinkConstructive 13 днів тому

      Glad to know that it was helpful for you. Thanks for sharing the feedback 😊

  • @pochanaramesh3818
    @pochanaramesh3818 Місяць тому

    Thank you so much its working with Spring boot 3.0.1 but why not working with Spring boot 3.4.0 , please suggest me

    • @ThinkConstructive
      @ThinkConstructive 13 днів тому

      Welcome 😊 There are some changes when moving to different versions. I will soon release a session on Spring Boot 3.4

  • @charuagrohi
    @charuagrohi Місяць тому

    Thank you so much Ma'am, really very good and useful video.

  • @ganeshn9464
    @ganeshn9464 Місяць тому

    Clear as CRYSTAL... Thank you so much Ma'am.

  • @anantshukla6395
    @anantshukla6395 Місяць тому

    NICE

  • @yashaswin6509
    @yashaswin6509 Місяць тому

    Your explanation is crystal clear. Thank you so much.

  • @siraj___nadaf1092
    @siraj___nadaf1092 Місяць тому

    Really Helped me lot in taking sessions Thank you very much

    • @ThinkConstructive
      @ThinkConstructive 13 днів тому

      Glad to know that it was helpful for you. Thanks for sharing the feedback 😊

  • @jyothsnagangarapu1096
    @jyothsnagangarapu1096 2 місяці тому

    hi madam thank you so much for this video ,could you please explain how in real time by using specs in swagger we can create microservices

  • @shubhamghotekar9922
    @shubhamghotekar9922 2 місяці тому

    Very informative,keep it up maam

  • @HemanthKumarR-z4t
    @HemanthKumarR-z4t 2 місяці тому

    nice

  • @middleclasshappiness2965
    @middleclasshappiness2965 2 місяці тому

    My feedback for your explanation is 10 out of 10. The way you feeding us java is crystal clear. Mam your way explanation is oswm. Please, why you shouldn't build one complete web project with Spring web, JPA, Spring security, Spring Actuator, Java mail sender and Thymleaf which is useful for all 0 -2 years experience people. I think my request is Valid and it may considered

    • @ThinkConstructive
      @ThinkConstructive 10 днів тому

      Thank you so much for your kind words and suggestion ❤️❤️ Sure I will upload a complete end to end project in some time. Stay connected and share with others too

  • @techkid358
    @techkid358 2 місяці тому

    curd opeartion 3