Commit Graph

18 Commits

Author SHA1 Message Date
e615d58262 Make user not accessible from UserDetails 2023-05-14 00:45:25 +02:00
8383fa5055 Extract validation error message paring to util class 2023-05-14 00:40:45 +02:00
3d1c1b605f Add at least one field not null validator 2023-05-14 00:38:47 +02:00
94fd3a5849 Add endpoint to delete payments 2023-05-13 20:19:48 +02:00
890c030109 Add endpoint to list payments 2023-05-12 23:32:30 +02:00
df46537266 Move entities to domain package 2023-05-12 14:38:17 +02:00
1757546f29 Payment creation with validation and response
* Move mapping inside service
 * Extract validation to utility class
 * Add test for validation
2023-05-12 11:42:21 +02:00
2f8bf45383 Add payment creation endpoint and first validation criteria
* Giver account
 * Iban validation with openiban.com
2023-05-10 00:16:56 +02:00
283b92d786 Add more sample data 2023-05-10 00:12:19 +02:00
ac4e9b69a3 Add custom UserDetails and use mapping between entity and DTO 2023-05-10 00:11:30 +02:00
0a3d3d25c6 Move models and add DTOs 2023-05-10 00:07:10 +02:00
caee7b5d4b Retrieve account list for authenticated user 2023-05-07 15:04:20 +02:00
f835e6837d Add UserDetailsService implementation to use DB users 2023-05-07 15:04:20 +02:00
812f2c475d Remove obsolete entity/repository 2023-05-07 15:04:20 +02:00
c44005359a Mark properties as required 2023-05-07 15:04:20 +02:00
efc9f9c77c Configure H2 database and add repositories 2023-05-06 22:56:23 +02:00
a4be85620f Add model classes 2023-05-06 14:35:05 +02:00
54cd17cacb Initialize project using Spring Initializr
* Spring Web
 * Spring Data JPA
 * H2 Database
 * Spring Security
 * Spring Boot Devtools
 * Spring Configuration Processor
 * Lombok
2023-05-06 14:27:32 +02:00