|
|
49e05cac10
|
WIP: EOL
|
2024-05-04 18:21:45 +02:00 |
|
|
|
7ed1e05284
|
refactor: remove feedback
- removed for now so I can focus on the primary objectives
|
2024-05-02 20:02:37 +02:00 |
|
|
|
cb9cc47245
|
refactor: repository pattern: rename Save() to Create()
|
2024-04-30 21:37:59 +02:00 |
|
|
|
ab4226561b
|
feat(oapi-codegen): enable stric-server option: strict request/response checking
|
2024-04-30 08:19:00 +02:00 |
|
|
|
b437b64a94
|
fix(api): add missing x-oapi-codegen-middlewares and x-go-package
- for middlewares
- oapi-codegen/runtime
|
2024-04-30 08:17:21 +02:00 |
|
|
|
9c4d42c26d
|
fix(api): createTrainingDateAttendee missing golang uuid type
|
2024-04-30 07:52:51 +02:00 |
|
|
|
c2454a8298
|
chore(deps): bump dependencies
|
2024-04-28 15:27:14 +02:00 |
|
|
|
c877fa0d2c
|
feat: add initial migration
|
2024-04-28 15:26:04 +02:00 |
|
|
|
c340623721
|
feat: add postgres-backed repositories
|
2024-04-28 15:25:33 +02:00 |
|
|
|
a2d47a4b3e
|
chore(Makefile): use go generate instead of calling oapi-codegen local binary
|
2024-04-28 15:19:40 +02:00 |
|
|
|
3b95a216bd
|
feat: add tools dir (go tools.go pattern) to keep tooling in go.mod
|
2024-04-28 15:18:43 +02:00 |
|
|
|
f691125492
|
chore(build): fix docker build with moved main
|
2024-04-28 15:16:20 +02:00 |
|
|
|
ac52934ee7
|
refactor(main.go): use cobra for cli and move main.go to root dir
|
2024-04-28 15:14:08 +02:00 |
|
|
|
9d2e456150
|
fix(oapi-codegen.yaml): add yaml schema url and fix issues according to schema
|
2024-04-28 14:50:35 +02:00 |
|
|
|
14e2ed90ac
|
refactor(api): replace application/json mime type with application/problem+json for any error / problem detail responses
See: https://datatracker.ietf.org/doc/html/rfc7807#section-6.1
|
2024-04-28 14:09:22 +02:00 |
|
|
|
abafbde740
|
feat: add generated code for rest api
|
2024-04-27 21:36:29 +02:00 |
|
|
|
4d1573d284
|
docs: bump README
|
2024-04-27 21:33:52 +02:00 |
|
|
|
00158e89fe
|
feat: add pkg/training/ with types, structs, and repository interfaces
|
2024-04-27 21:31:04 +02:00 |
|
|
|
afe0f18523
|
chore: add .vscode extensions.json and settings.json
|
2024-04-27 21:29:58 +02:00 |
|
|
|
975162ed94
|
style(.editorconfig): set indent_style=tabs and indent_size=4
|
2024-04-27 21:28:11 +02:00 |
|
|
|
21f6e5df72
|
chore: add .vscode extensions.json and settings.json
|
2024-04-27 21:27:54 +02:00 |
|
|
|
bf08fc2e71
|
refactor(api): default response -> 500, Unexepected error -> Internal error
|
2024-04-27 21:20:50 +02:00 |
|
|
|
32038981f6
|
refactor(api): replace Error schema with ProblemDetails (RFC 7807)
|
2024-04-27 21:15:49 +02:00 |
|
|
|
d1c6eb0069
|
feat: add Makefile for generating go code from openapi schema
|
2024-04-27 21:11:46 +02:00 |
|
|
|
f62cf72f67
|
chore: add oapi-codegen config
|
2024-04-27 21:11:16 +02:00 |
|
|
|
04d261bb5d
|
feat(api): add PUT /trainings/{trainingID}/dates/{dateID} to modify date
|
2024-04-27 21:10:10 +02:00 |
|
|
|
87d432dd52
|
feat(api): use custom types for uuid types
|
2024-04-27 21:09:38 +02:00 |
|
|
|
11f610f992
|
fix(api): Training should ref NewTraining not Training (self)
|
2024-04-27 21:08:36 +02:00 |
|
|
|
bf3cd40d9b
|
feat(api): add company field to trainingdateattendee
|
2024-03-02 16:36:52 +01:00 |
|
|
|
667b142aa2
|
feat(api): add NewTrainingDate component
|
2024-03-02 16:36:07 +01:00 |
|
|
|
d1e0607812
|
feat(openapi): add tags
|
2024-02-28 21:18:46 +01:00 |
|
|
|
14587e612f
|
fix(openapi): move price to component
|
2024-02-28 21:06:35 +01:00 |
|
|
|
63cc8628bc
|
refactor: move app entrypoint to ./cmd/server
|
2024-02-28 20:59:15 +01:00 |
|
|
|
bb8e1aceb1
|
fix(openapi): missing NewTrainingFeedback component and do not use properties when using $ref
|
2024-02-28 20:53:59 +01:00 |
|
|
|
f679dff15d
|
feat: add v1 openapi spec
|
2024-02-28 20:17:27 +01:00 |
|
|
|
491eaba395
|
chore(golang): bump to 1.22.0
|
2024-02-28 18:51:54 +01:00 |
|
|
|
cf444de966
|
ci: change default image to docker:git
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
|
2024-01-02 19:24:31 +01:00 |
|
|
|
38e1389976
|
ci: build and push docker image
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
|
2024-01-02 19:13:31 +01:00 |
|
|
|
da0b92c936
|
chore(build): add Dockerfile
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
|
2024-01-02 19:01:17 +01:00 |
|
|
|
5272bfe7ae
|
chore: add go.sum
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
|
2024-01-02 19:00:51 +01:00 |
|
|
|
3d734673ff
|
feat: initial commit
Signed-off-by: Vojtech Mares <iam@vojtechmares.com>
|
2024-01-02 18:53:38 +01:00 |
|