A Java RESTful API is created for the Santander Dev Week.
- Java 21: We will use the latest long-term support (LTS) version of Java to take advantage of the latest innovations that this robust and widely used language offers;
- Spring Boot 3: We will work with the latest version of Spring Boot, which maximizes developer productivity through its powerful autoconfiguration principle;
- Spring Data JPA: We will explore how this tool can simplify our data access layer, facilitating integration with SQL databases;
- OpenAPI (Swagger): We will create an effective and easy-to-understand API documentation using OpenAPI (Swagger), perfectly aligned with the high productivity that Spring Boot offers;
- Railway: We will use it to facilitate the deployment and monitoring of our solutions in the cloud, in addition to offering various databases as a service and CI/CD pipelines.
The Figma was used to abstract the domain of this API, which is useful for analysis and projecting the solution
classDiagram
class User {
-String name
-Account account
-Feature[] features
-Card card
-News[] news
}
class Account {
-String number
-String agency
-Number balance
-Number limit
}
class Feature {
-String icon
-String description
}
class Card {
-String number
-Number limit
}
class News {
-String icon
-String description
}
User "1" *-- "1" Account
User "1" *-- "N" Feature
User "1" *-- "1" Card
User "1" *-- "N" News