Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/carloscazelattojr/java-santander-dev-week-2023

Semana Santander Dev Week - Java | Springboot | Railway
https://github.com/carloscazelattojr/java-santander-dev-week-2023

gradle java postgresql railway spring-boot

Last synced: about 1 month ago
JSON representation

Semana Santander Dev Week - Java | Springboot | Railway

Awesome Lists containing this project

README

        

# Santander Dev Week 2023

## Spring Initializr

[Spring Initializr - download](https://start.spring.io/#!type=gradle-project&language=java&platformVersion=3.1.2&packaging=jar&jvmVersion=17&groupId=br.com.carlosjunior&artifactId=santander-dev-week-2023&name=santander-dev-week-2023&description=Java%20RESTful%20API%20Santander%20Dev%20Week%202023&packageName=br.com.carlosjunior.santander-dev-week-2023&dependencies=web,data-jpa,h2,postgresql)

## Diagrama de Classes

```mermaid
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
```

## Swagger

[Swagger Local](http://localhost:8080/swagger-ui/index.html)

Body Post
````
{
"name": "Carlitos",
"account": {
"number": "123456-0",
"agency": "001-0",
"balance": 100.10,
"limit": 83734.98
},
"card": {
"number": "XXXX-XXXX-XXXX-1234",
"limit": 7800.00
},
"features": [
{
"icon": "URL_ICON",
"description": "Descrição da funcionalidade"
}
],
"news": [
{
"icon": "URL_NEWS",
"description": "Descrição da notvidade"
}
]
}
````

## Publicação em Railway
[Railway.app](https://railway.app/)