A simple todo application used for tracking tasks made using Golang, Cobra (for the CLI client) & PostgreSQL.
- How to connect a DB to a server made using Golang
- How gRPC works
- How to containerize Database and Server using Docker
- Docker: Used for running the server and database inside containers.
- Open the Terminal
- Navigate to the Project's directory
- Start the server & database inside a container:
$ make start
- Open a second Terminal
- Navigate to the Project's directory
- Install the client:
$ go install
todo list
: Lists all (non-removed) tasks.todo add <task-name>
: Adds a task to the task listtodo check <task-id>
: Changes the status of a task to donetodo remove <task-id>
: Removes a task from the task list