Backend of SecureCheck. A web that helps you to audit companies to fulfill ISO 27001
This API is based on Ports and Adapters clean Architecture, Main modules are:
- Domain:
it's the center of the application, clean of every external library, contains models, application ports,
service ports and any util you need inside of it. Principal submodules are:
- Model: Entities of the project (in this case, user, role, company, and so on and so forth).
- SPI: Service Port Interfaces declare which information must receive and send to provider services like ORMs or messaging brokers.
- API: Application Port Interfaces declare which information must send and receive components which use Domain like Rest or Soap controllers.
- Adapters:
These adapters make use of ports, submodules are:
- Driven: These adapters provide functionalities to Domain through SPI ports. In this project we are going to use JPA mainly
- Driving: These adapters use 'Use cases' to achieve something, in this project we are going to use Rest Controllers to make an API.
- Configuration: Here is stored any configuration the project need
Available endpoints are:
- Authentication:
/v1/auth/register/auditor