Merged in feature/baseTemplate (pull request #1)

feat!: base template

* first bit of templating

* codeowners

* linuxbased

* restart

* baseline project

* add grpc api and basic integration test

* startqueue

* queueMsg

* splitscripts

* migrations

* queueintegrationtest

* gateway
This commit is contained in:
Michael McGuinness
2024-12-06 14:38:42 +00:00
parent cccbdaad4f
commit b1f8ac453b
2845 changed files with 832056 additions and 50 deletions
+71
View File
@@ -0,0 +1,71 @@
# https://taskfile.dev
version: '3'
includes:
deps:
taskfile: dependencies.yml
test:
taskfile: tests.yml
docker:
taskfile: docker.yml
proto:
taskfile: proto.yml
compose:
taskfile: compose.yml
db:
taskfile: database.yml
vars:
CONTEXT: ..
OUT_DIR: out
OUT_FILE: "{{.OUT_DIR}}/main_grpc"
tasks:
generate:
deps:
- db:generate
- proto:generate
dev:
deps:
- generate
cmds:
- go run {{.PROJECT_MAIN}}
build:
deps:
- generate
cmds:
- go build -o {{.OUT_FILE}} {{.PROJECT_MAIN}}
start:
deps:
- build
cmds:
- ./{{.OUT_FILE}}
lint:
cmds:
- task proto:lint
- task code:lint
- task db:lint
- task yaml:lint
- task docker:lint
- task compose:lint
- task shell:lint
lint:fix:
cmds:
- task proto:lint:fix
- task code:lint:fix
code:lint:
cmds:
- golangci-lint run
code:lint:fix:
cmds:
- gofmt -w .
yaml:lint:
cmds:
- yamllint . -s
shell:lint:
cmds:
- shellcheck --shell=sh scripts/install-deps.sh
docs:
cmds:
- godoc -http=:6060