This is a simple to-do CLI and API built with Go. The CLI is based in the book Powerful Command-Line Applications in Go and in the Abah Joseph tutorial.
Go 1.22.1
To start the API, run thesses commands:
cd cmd/api
go run main.go
To start the CLI, run theses commands:
cd cmd/cli
go run main.go
Run the following command in the root directory to run the unit tests:
go test -v
To run the CLI integration test, run:
cd cmd/todo
go test -v