https://github.com/zhashkevych/quotes-server
TCP Server with PoW mechanism
https://github.com/zhashkevych/quotes-server
Last synced: 6 months ago
JSON representation
TCP Server with PoW mechanism
- Host: GitHub
- URL: https://github.com/zhashkevych/quotes-server
- Owner: zhashkevych
- Created: 2024-02-02T19:51:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-08T12:33:48.000Z (over 1 year ago)
- Last Synced: 2025-03-25T17:49:25.035Z (7 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QUOTES TCP SERVER & CLIENT
## With Proof-of-Work verificationFor the proof of work logic [Hashcash](https://en.wikipedia.org/wiki/Hashcash#:~:text=Hashcash%20is%20a%20cryptographic%20hash,proof%20can%20be%20verified%20efficiently.) algorithm is used (check the implementation inside `pkg/hashcash`).
To run the server, use command:
```
docker-compose up --build quotes-server
```To run client:
```
docker-compose up --build quotes-client
```Run unit tests:
```
go test -v ./...
```