This project is about account-customer-transaction relations. I have followed @folksdev current springboot web app development educational resource. I have experienced RestAPI development, how to work with relationships between entities, logic of DTOs and converters, Unit Testing and Exception Handling. Thanks him for helping me improve myself.
GET /v1/customer/{customerId}
Parameter | Type | Description |
---|---|---|
customerId |
string |
Required. |
POST /v1/account
Parameter | Type | Description |
---|---|---|
body |
createAccountRequest |
Required. |
body: createAccountRequest
{
"customerId" : "",
"initialCredit" : ""
}
Parameter | Type | Description |
---|---|---|
Authorization |
InMemory Authentication |
Admin and User. |
Basic Auth: Get Customer By Id
{
"username" : "user",
"password" : "password"
}
Basic Auth: Create Account Request
{
"username" : "admin",
"password" : "password"
}
- Dto Logic and how to write dto converter
- Using kotlin in a SpringBoot Project
- Unit Testing
- InMemory Database
- Exception Handling and Validation (with default messages)
- InMemory Basic Authentication
Server: Java 11, Spring Boot, Spring Basic Authentication
Client: React - not added yet.