Hi guys, in this lesson we will talk about user service architecture and overview. User service will provide us user CRUD operations and security in this microservice. Firstly we will use Springwood it will provide a simpler and faster way to set up configured and run REST API applications. With Spring Boot model beam controller structure will be implemented. Our MVC structure will work like that. First of all the entity classes will be created on the model package.
Later, if model class is permanent, create a repository for it. Call repository from services. Finally, call it floor controls. data will be presented to client as API call. So super impressed controller will be used to handle it. The other thing will be spring security.
We will provide secure user logon operations with sibling security. To do it, we will implement a configuration. In use service, we will use my SQL as database. We will map our database tables to objects with hibernate. So we will provide object relational mapping with hibernate. For database migration, we will use leaky base in liquid base, we will define our database chains and secret will handle it on initialization.
For clean code, we will use Lombok library You know that we don't want to implement getter setter equals and hashCode methods, so we can escape it using Lombok data or a new annotation. To handle all dependencies of our service, we will use Gradle. Okay, that's all about user service strategy. Thank you.