Below is a clean, structured, and memory-friendly version of your notes, rewritten to improve clarity, add why + how explanations, and highlight the mental model so you can recall everything later without confusion.

I’ve kept it concise but deep, exactly how good revision notes should be.


🌱 Spring Boot + PostgreSQL – Complete Learning Notes


1️⃣ Creating a New Spring Boot Project (Spring Initializr)

Configuration chosen:

👉 Spring Initializr auto-generates a ready-to-run project with correct folder structure and config.


2️⃣ Application Entry Point (Main Class)

This is the starting point of the Spring Boot application.

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

🔹 What do these imports do?

1. @SpringBootApplication

This is a meta-annotation (combines 3 annotations):