Golang todo application with GraphQL, gRPC and RestFul interfaces.
To install dependencies is recomended to use goenv-shell
goenv install 1.21.4
go mod tidy
go build -v -o ./bin/server ./cmd/server...
./bin/server
To run migrations it's used the migrate cli
migrate create --ext cql -dir cmd/migrate/migrations -tz utc create_todo_table
migrate -source file:./migrations -database cassandra://localhost:9042/smudge up
migrate -source file:./migrations -database cassandra://localhost:9042/smudge down
go run ./cmd/server/main.go