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)