https://github.com/benslabbert/trak-gateway
https://github.com/benslabbert/trak-gateway
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/benslabbert/trak-gateway
- Owner: BenSlabbert
- Created: 2019-07-30T18:38:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-11T22:06:59.000Z (over 1 year ago)
- Last Synced: 2025-04-06T10:18:45.161Z (about 1 year ago)
- Language: Go
- Size: 316 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# trak
The app is live [app.trak-app.co.za](https://app.trak-app.co.za/)
## Backend
This repo contains the backend for the trak-app
## Frontend
The frontend can be found here: [trak-ui](https://github.com/BenSlabbert/trak-ui)
## Message serialization Definitions
Trak uses [protobuf](https://github.com/protocolbuffers/protobuf/) and [grpc](https://github.com/protocolbuffers/protobuf/) (internally), the proto files can be found at [trak-grpc](https://github.com/BenSlabbert/trak-grpc).
The [trak-ui](https://github.com/BenSlabbert/trak-ui) does **not** use JSON, but serializes/de-serializes binary [protobuf](https://github.com/protocolbuffers/protobuf/) messages.
### NSQ
Get stats with the CLI. SSH into the NSQ node then run:
```shell script
./nsq_stat --topic new-product-queue --channel worker --nsqd-http-address 127.0.0.1:4151
```
Specify the `topic` and `channel` to pull stats from