1
0
Fork 0
Commit graph

15 commits

Author SHA1 Message Date
67f015ec97
feat(api): TrainingDateAttendee: bill, hasPaid, hasAttended are not present when creating attendee 2024-05-11 20:30:21 +02:00
040609b80d
fix(server): use errors.Is() for error comparison 2024-05-11 20:25:04 +02:00
4a58dc3a81
feat(server): implement new api handlers for TrainingDateAttendees 2024-05-07 22:07:30 +02:00
ab4c27739e
chore(api): bump generated api code 2024-05-07 22:06:50 +02:00
ef1526a1ac
refactor: move currency to money package and add new type Price, refactor api and use price there too 2024-05-05 18:19:56 +02:00
18d1c98b76
refactor: move testing data to custom package faker (interna/faker) 2024-05-05 17:51:48 +02:00
715ce009b1
refactor: /v1/trainings/upcoming-dates sends response with trainingID and list of dates together 2024-05-05 17:49:29 +02:00
401cc5330e
feat(server): bump generated api code and implement upcoming training date handlers 2024-05-05 16:25:10 +02:00
2dcaa4c646
feat(server): bump generated api and server implements handlers for new routes 2024-05-05 16:01:35 +02:00
5d83bb0308
feat(training): add pricing and TrainingPrice with amount, currency and type (open|corporate) 2024-05-05 11:55:33 +02:00
d55276886b
feat(training): add Description field 2024-05-05 09:52:04 +02:00
bda8bb9e85
refactor(training): Training.Days is int8 instead of int32 2024-05-05 09:44:56 +02:00
58b017a59f
feat: implement rest server with Fiber and OpenAPI spec, bump deps, use training.InMemoryTrainingRepository 2024-05-04 17:51:11 +02:00
14f3209c5e
feat: add generated api server stubs and oapi-codegen config 2024-05-04 17:46:18 +02:00
24e99a3b08
refactor: extract server from main.go to it's own package 2024-05-04 12:22:42 +02:00