-
A SpringBoot Project, made with the intention to learn all the major features of the Framework.
-
Tech Used: Spring Boot, Java 8, PostMan, Lombok, JUnit, Hibernate Validations.
-
Prominent Features Include:
- CRUD API's
- Using Both In-Memory H2 Database and later MySQL database
- Global Exception Handlers
- Testing Using JUnit framework
-
Features Covered Include:
- CRUD Features: Create, Read, Update, Delete API's
- Configurations to Connect with Database using Application.properties.
- Devision of application into different layers Controller, service, database Layer.
- Used Request Params for Request Handling.
- Used Query Params for Request Handling.
- Connected with in Memory H2 Database.
- Added Loggers
- Used Lombok Library to autogenerate common code.
- Global Exception Handlers
- Used MySQL database.
- Implemented Service Layer tested using JUnit Testing Framework.
- Implemented Repository Layer testing using JUnit Testing Framework.
- Converted Application.properties into yml File.
- Hibernate Validations Added.
-
Tools Used:
- IntellJ Ultimate Edition.
- Github for Version Control.
- Lombok Library for AutoCode Generation.
- H2 In-Memory Database.
- MySQL database.
- JUnit Testing Framework.
- Loggers.
- PostMan.
- Clone the Repo
- Open project in intellJ.
- Run The application.
- Use PostMan to Trigger API's.
The Project was a good learning exercise that helped understand:
- How Spring Boot Works
- How To Structure Spring Boot Applications.
- How to Test different Layers.
- How to Connect to Database using Spring Boot.