Hello Dev's, In this video I did coding for spring boot crud operations for beginners and experince candidates.
Required Softwares:
✅ Java JDK (17 or laer) – Download from Oracle or OpenJDK (https://www.oracle.com/pk/java/techno...)
✅ Maven (Latest) – Download from Maven (https://maven.apache.org/download.cgi)
✅ Spring Boot – Will be set up with Maven
✅ Postman – For testing APIs (https://www.postman.com/downloads/)
✅ MySQL/PostgreSQL (Optional) – If using a database
2. Create a Spring Boot Project:
Using Spring Initializr (https://start.spring.io/)
Select Maven
Project: Java, and Spring Boot 3.x
Add Dependencies:
Spring Web (For REST APIs)
Spring Data JPA (For database access)
H2 Database (For an in-memory database)
Click Generate → Download the ZIP → Extract & Open in IntelliJ IDEA / VS Code / Eclipse.
IntelliJ IDEA (https://www.jetbrains.com/idea/downlo...)
Eclipse (https://www.eclipse.org/downloads/pac...)
VS code (https://code.visualstudio.com/download)
Github link for Code: https://github.com/venkatweb1234/spri...
Postman Collection:
POST http://localhost:8080/users
BODY: {
"name": "Demo3",
"email": "[email protected]"
}
GET http://localhost:8080/users (All Users)
GET http://localhost:8080/users/1 (Single User)
PUT http://localhost:8080/users
BODY: {
"name": "Demo6",
"email": "[email protected]"
}
DELETE http://localhost:8080/users
#beginners, #java, #springboot, #crud, #MVC, #coding, #JPA, #Hiberante