Skip to content

Golang todo application with GraphQL, gRPC and RestFul interfaces

Notifications You must be signed in to change notification settings

flaviotux/smudge

Repository files navigation

Smudge API

Golang todo application with GraphQL, gRPC and RestFul interfaces.

How to

Install

To install dependencies is recomended to use goenv-shell

goenv install 1.21.4
go mod tidy

Build

go build -v -o ./bin/server ./cmd/server...

Binary Run

./bin/server

Usage

Migrations

To run migrations it's used the migrate cli

Create

migrate create --ext cql -dir cmd/migrate/migrations -tz utc create_todo_table

Up

migrate -source file:./migrations -database cassandra://localhost:9042/smudge up

Down

migrate -source file:./migrations -database cassandra://localhost:9042/smudge down

Local

Run

go run ./cmd/server/main.go

About

Golang todo application with GraphQL, gRPC and RestFul interfaces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published