- Install Go
$ cd my_projects/
$ git clone https://github.com/dibikhin/TODO.git
$ cd TODO/
$ go mod download
$ cp example.env .env
$ cd TODO/
$ make test
Testing client...
...
PASS
...
Testing server...
...
PASS
...
Run as is, no compilation neaded. Running locally assumed.
Open first terminal, then:
$ cd TODO/
$ make serve
Server:
2022/04/19 11:15:24 Starting...
2022/04/19 11:15:24 Started
...
NOTE: Hit ctrl+c
to exit.
Open second terminal, then:
$ cd TODO/
$ make connect
Client:
2022/04/19 11:17:56 Starting...
...
2022/04/19 11:17:56 Started
Welcome to TODO
...
NOTE: Hit ctrl+c
to exit.
/cmd
— Entry points/pkg
— The packages.env
— configexample.env
— config example- etc.
- The UI is CLI
- Client handles loosing connection well
This project is licensed under the MIT License — see the LICENSE file for details.
Thanks to:
- TODO