DEV Community

Krishna
Krishna

Posted on

🎯 Day 20 – Intro to H2 Database in Spring Boot!

Another step forward in my Spring Boot learning adventure! πŸš€
Today, I started exploring H2 Database, a lightweight, in-memory database that's super useful for development and testing.

🧠 What I learned today:

βœ… What is H2 Database and why it's great for rapid development
βœ… How to integrate H2 into a Spring Boot application
βœ… Configured application properties to enable H2 console
βœ… Used the H2 web console to interact with tables and run SQL queries
βœ… Saw how data gets wiped when the app restarts β€” useful for learning and prototyping!

πŸ’¬ It felt empowering to visualize the data I’ve been creating through CRUD operations. H2 makes it super simple to debug and experiment without the overhead of setting up a full database. Perfect for beginners and local testing!

πŸ”§ Tomorrow, I’ll build a mini project using H2 Database to bring everything I’ve learned so far into a practical use case. Time to apply those CRUD skills in a real-world scenario! πŸ’ͺπŸ”₯

JavaFullStack #SpringBootJourney #H2Database #RESTAPI #BackendDevelopment #DevLog #CodeNewbie #100DaysOfCode #30DaysOfCode #LearningInPublic #JavaBeginners #InMemoryDB #DeveloperJourney #Day20 #FullStackLearning #SpringBootTips #Spring #50DaysofCode #30DaysofChallenge #50DaysofChallenge

100DayofChallenge

Top comments (0)