Spring Boot CRUD REST API (No Database) | Learn @GetMapping, @PostMapping & Postman

Veröffentlicht am: 13 März 2026
auf dem Kanal: Geek24
44
2

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


Auf dieser Seite können Sie das Online-Video Spring Boot CRUD REST API (No Database) | Learn @GetMapping, @PostMapping & Postman mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Geek24 13 März 2026 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 44 Mal angesehen und es wurde von 2 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!