This is Video 4 of the Spring Boot Project Series.
In this video, we focus on core REST API concepts in Spring Boot by building a CRUD API using an in-memory HashMap, without using any database or JPA.
👉 This approach helps you clearly understand how APIs work before moving to PostgreSQL, JPA, and Hibernate in upcoming videos.
🦜 What you’ll learn in this video
What is a REST API in Spring Boot
Creating APIs using @RestController
Understanding and using:
@GetMapping
@PostMapping
@PutMapping
@DeleteMapping
@PathVariable
@RequestBody
@ResponseBody
Building full CRUD functionality using HashMap
How data is stored in memory (and why it disappears on restart)
How to test REST APIs using Postman
Understanding HTTP methods and request/response flow
🦜 Why we are NOT using a database yet
This video is intentionally database-free
Helps beginners avoid confusion between:
API logic
Database logic
In the next videos, we will:
Replace HashMap with JPA Repository
Connect PostgreSQL
Persist data properly in a real database
🦜 Who this video is for
Beginners learning Spring Boot
Java developers new to REST APIs
Anyone confused about CRUD operations
Developers preparing for backend / Java interviews
Learners who want step-by-step project-based learning
🚀 What’s coming next in this series
Creating real entities
Connecting PostgreSQL
Using Spring Data JPA & Hibernate
Moving logic to Service layer
DTOs & Global Exception Handling
If this video helps you:
👍 Like the video
📌 Subscribe to the channel
🔔 Turn on notifications to follow the complete Spring Boot project journey
En esta página del sitio puede ver el video en línea Spring Boot CRUD REST API (No Database) | Learn @GetMapping, @PostMapping & Postman de Duración hora minuto segunda en buena calidad , que subió el usuario Geek24 13 marzo 2026, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 44 veces y le gustó 2 a los espectadores. Disfruta viendo!