Skip to content

alesbe/spring-boot-CRUD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot - Movies CRUD

A CRUD made for a movies database made with Spring Boot

🏗️ Arquitecture

This CRUD uses a Controller - Service - Repository pattern.

layers

This designs allows the domain layer to be completly isolated from the other layers. We achieve this using a variety of techniques:

  • Dependecy inversion principle: This way, the persistance layer implements the interfaces defined in the domain layer. The main idea is that the domain should contain all the application logic and shouldn't be dependent or rely on any other layer.

  • Creating entities for each layer: Each layer uses its own entities, adapted for its own use case. The web entities are adapted to recieve data, the domain entites are the main entities of the application, and the persistance entities are adapted to the database tables, but not mirroring the columns.

🚧 README WIP 🚧

About

REST server made with Spring boot and Lombook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages