Skip to content

aamirshayanshaikh/spring-boot-best-practices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Application Development Using Best Practices - Coaching Institute Management

I developed this application to implement best practices and Java 8 features along with the fololwing modules.

  • Exception Handling
  • Transaction Management
  • Aspect Oriented Programming (AOP)
  • Autowire Conflict Resolution using @Qualifier
  • Spring Security (JWT Authentication)
  • Unit and Integration Testing
  • Validation
  • Logings

Clone it from my github repository by clicking this link.

> Prerequisites

  • Java 17
  • IDE (Intellej IDEA)
  • MySql
  • Maven 3.0
  • Git
  • Postman.

Demo

Initilal state

Image Alt

Making a POST request via POSTMAN: simulation of a succesful money transfer

Image Alt

Transaction is commited permanently to database

Image Alt

Transfer money to an inexistant account: simulation of rollback called when NoSuchElementException is occured

Image Alt

NoSuchElementException shown in the console

![Image Alt](https://github.com/haffani/v4/blob/master/content/posts/spring-trx-management/no such elemnt.png)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages