Initial bootrap of application

- Creates scaffold for router and server
- Main program set up for environment, OS signal listener
- Makefile generic commands
This commit is contained in:
2021-06-17 17:06:21 -04:00
parent 61e39b6c2f
commit 336b21a835
14 changed files with 307 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
dev:
docker-compose up
unit-test:
go test -short ./...
integration-test:
go test -integration ./...
all-test:
go test ./...
build:
go build -o supermarket-api cmd/api/*.go
run:
go run cmd/api/*.go
clean:
rm ./supermarket-api