1
0
Fork 0
Commit graph

22 commits

Author SHA1 Message Date
6f360d9a5d
chore(server): bump api.gen.go 2024-05-13 22:20:16 +02:00
f5e632a46f
feat: add endpoints to update payment and attendance status of training date attendee 2024-05-13 12:55:13 +02:00
79632c409a
test(server): add tests for updating, deleteing and listing trainings 2024-05-12 23:34:25 +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
4c5e7c1d2f
chore(server): bump generated code 2024-05-12 23:33:25 +02:00
103241182e
test: add tests for training endpoints 2024-05-12 22:59:04 +02:00
05deed2452
refactor(server): testing server 2024-05-12 22:15:23 +02:00
65bd079691
feat(server): return TrainingDateAttendee data on GET, POST and PUT 2024-05-11 20:30:50 +02:00
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
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