• Post category:StudyBullet-9
  • Reading time:10 mins read


Building Springboot application for Employee Management

What you will learn

Learn building End-to-End Production Ready REST API

Learn mapping between JPA Entities

Learn how to use Lombok

Learn how to write Scheduler with CRON Expression

Content Filtering Using MappingJacksonValue

Learn how to call third party API and Consume the response

Learn how to write Async method

Learn How to Add Profiles the Spring Boot Project

Learn How to Send Email from SpringBoot

Learn How to Build CRUD Rest API’s

Learn How to Use DTO’s

Learn how to setup H2 database and MySQL

Learn Spring Boot REST API Exception Handling

Learn How to Write Custom Query Methods Using Spring Data JPA

Learn One-To-Many and Many-To-Many JPA/Hibernate Mappings

Learn REST APIs Documentation with Swagger UI

Learn how to test REST APIs in Postman

Description

In this course, you will learn how to build REAL TIME REST APIs using Spring boot.

Well, we will follow the Real-time industry-standard project development approach in this course.

SpringBoot ?

Spring Boot is an open source, microservice-based Java web framework. The Spring Boot framework creates a fully production-ready environment that is completely configurable using its prebuilt code within its codebase

JPA?

Spring Boot JPA is a Java specification for managing relational data in Java applications. It allows us to access and persist data between Java object/ class and relational database. JPA follows Object-Relation Mapping (ORM). It is a set of interfaces

H2 Database ?

H2 database is an open source, embedded and in memory relational database management system. It is written in Java and provides a client/server application. It stores data in system memory instead of disk. Once program is closed, data is also lost

Lombok ?

What is Lombok. Project Lombok (from now on, Lombok) is an annotation-based Java library that allows you to reduce boilerplate code. Lombok offers various annotations aimed at replacing Java code that is well known for being boilerplate, repetitive, or tedious to write

You will learn the below topics in this course :

  1. How to create SpringBoot project using Intellij and Spring initializer
  2. How to add project dependencies
  3. What is JPA and how to create Entities
  4. Relationship between entities [tables]
  5. How to write API’s in SpringBoot
  6. Learn Spring boot REST API exception handling for the entire application
  7. Learn how to use Data Transfer Objects
  8. You will learn using Lombok annotations
  9. Learn REST APIs Documentation with Swagger UI
  10. You will learn to perform the database operations using Data JPA
  11. You will connect Spring Boot application to MySQL database
  12. You will connect Spring Boot application to H2 database
  13. You will learn to create the REST end points
  14. Learn how to build CRUD REST API’s
  15. Learn how to content filtering using Jackson
  16. Learn how to write Asynchronous method
  17. Learn how to write scheduler with CRON expression
  18. Learn how to Call third part rest API’s
  19. Learn how to refactoring the code
  20. Learn how to send email from SpringBoot

Technologies:


Get Instant Notification of New Courses on our Telegram channel.


Java 8+

Spring Boot

Spring Data JPA

Tomcat

IDE:

Intellij IDEA

Database:

H2 In Memory

MySQL database

Tools:

Postman – Test REST API

Maven – Build Tool

English
language

Content

About The Project

Introduction
What are we going to do

Initial Project Setup

Setup the Initial Project
Verifying the Initial project

Setup Database and Data Setup for Project

Setup H2 configuration
How to create JPA Entity
Finalising the database tables for the project
Create entities and setup data part1
Create entities and setup data part2

Get Operation Rest API’s

Testing a sample rest api
Get All Employees Data
Get Employee Data By ID
Get Employee Data By Department Part1
Get Employee Data By Department Part2

Fine Tuning the Code Changes

Setup a proper response DTO
Refactor the Code
Send response to user with Custom DTO
Creating a Helper class

Write Customer Query Get Operation

Write Custome Query part1
Write Custome Query part2

Application Exception Handling

Handle generic exception
Write Application exception handler Part1
Write Application exception handler Part2

Content Filtering Using Jackson Library

Simple Content filter using JsonIgnore
Content Filter using Mapping Jackson Part 1
Content Filter using Mapping Jackson Part 2

DML Operation in Rest API – POST,PUT and DELETE

Create Controller and Request DTO for Employee
Create New employee post method part1
Create New employee post method part2
Create New employee post method part3
Create New employee post method part4
Create New employee and Oraginze the code
Create API for performing PutMapping – Update Employee Data
Create API for performing DeleteMapping – Delete Employee Data

Third Party API call Using RestTemplate

Call Rest API Using Rest Template
Create Response Object for capture the response

Asynchronous Service Creation

How to create Async Service Part1
How to create Async Service Part2

Send Email from SpringBoot

How to send email from springboot
How to sent mail to multiple recipients Part1
How to sent mail to multiple recipients Part2

Create Scheduler in SpringBoot

How to create scheduler in springboot
Scheduler with Cron expression

Setu Logging Using Log4j

How to setup log4j part1
How to setup log4j part2

Create Profile in SpringBoot

How to create profiling in springboot
Profiling with production properties and mysql DB

Swagger UI Setup

Swagger UI Configuration in Springboot

Setup Lombok in Intellij and Eclipse

Install Lombok in Intellij IDEA
Install Lombok in Eclipse IDE

Import the Rest API URL’s in Postman

How to Export all Post tested API’s