|
|
7c4c42f1b2
|
fix(server): return slug when listing all trainings
|
2024-06-27 09:15:06 +02:00 |
|
|
|
36230f02e5
|
fix(server): do not overlay idx var
|
2024-06-27 09:14:59 +02:00 |
|
|
|
aee7cbc526
|
feat(server): implement training by slug endpoint
|
2024-06-27 09:14:15 +02:00 |
|
|
|
fe38dd6683
|
feat(api): add get training by slug endpoint
|
2024-06-27 09:06:43 +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 |
|
|
|
370531a9a5
|
refactor: use serial as id instead of uuid
|
2024-06-23 12:40:55 +02:00 |
|
|
|
ff7e320481
|
feat: add postgres repository for training
|
2024-06-23 10:35:38 +02:00 |
|
|
|
8c277ef692
|
chore(server): bump generated api
|
2024-06-05 10:15:31 +02:00 |
|
|
|
716b7a67da
|
test(server): add tests for training date attendee
|
2024-05-19 10:08:02 +02:00 |
|
|
|
21480e9242
|
fix(server): list training date attendees returns correct object
|
2024-05-19 10:07:22 +02:00 |
|
|
|
e4992b4352
|
test(server): add test for adding training date attendee
|
2024-05-15 00:17:18 +02:00 |
|
|
|
ee51874892
|
chore(server): test name fix
|
2024-05-14 23:43:20 +02:00 |
|
|
|
32874f9748
|
test(server): add tests for /upcoming-dates endpoints
|
2024-05-14 21:52:25 +02:00 |
|
|
|
e2fc77f767
|
test(server): add tests for trainingDate resources
|
2024-05-13 22:21:46 +02:00 |
|
|
|
d62a942b41
|
refactor(server): trainingDate.date using oapi-codegen type date instead of time.Time
|
2024-05-13 22:21:06 +02:00 |
|
|
|
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 |
|
|
|
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 |
|