1
0
Fork 0
Commit graph

18 commits

Author SHA1 Message Date
aee7cbc526
feat(server): implement training by slug endpoint 2024-06-27 09:14:15 +02:00
2d32c80182
feat!: add slug to training
BREAKING CHANGE: update init migration
2024-06-26 22:24:36 +02:00
c3795dba6a
refactor(training): use golang style of naming (do not repeat pacakge name in struct/func names) 2024-06-23 13:13:44 +02:00
ff7e320481
feat: add postgres repository for training 2024-06-23 10:35:38 +02:00
21480e9242
fix(server): list training date attendees returns correct object 2024-05-19 10:07:22 +02:00
d62a942b41
refactor(server): trainingDate.date using oapi-codegen type date instead of time.Time 2024-05-13 22:21:06 +02:00
f5e632a46f
feat: add endpoints to update payment and attendance status of training date attendee 2024-05-13 12:55:13 +02:00
81c265252f
feat(server): implement api changes
- 404 response
- price amount as string instead of number
2024-05-12 23:33:44 +02:00
65bd079691
feat(server): return TrainingDateAttendee data on GET, POST and PUT 2024-05-11 20:30:50 +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
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
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
58b017a59f
feat: implement rest server with Fiber and OpenAPI spec, bump deps, use training.InMemoryTrainingRepository 2024-05-04 17:51:11 +02:00