https://github.com/mountolive/back-blog-go
Services behind my "blog"
https://github.com/mountolive/back-blog-go
gateway go grpc microservices nats nix rest-api rust
Last synced: 2 months ago
JSON representation
Services behind my "blog"
- Host: GitHub
- URL: https://github.com/mountolive/back-blog-go
- Owner: mountolive
- Created: 2020-10-24T15:17:20.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2024-08-20T15:55:56.000Z (almost 2 years ago)
- Last Synced: 2025-03-17T07:22:39.339Z (over 1 year ago)
- Topics: gateway, go, grpc, microservices, nats, nix, rest-api, rust
- Language: Go
- Homepage:
- Size: 348 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My personal blog's backend
It's intended to have a "microservices" layout
_Overkill_ is my business, my business is good... But loosely following a hexagonal architecture
Not intended to be a simple and elegant solution... I'm just using this as an excuse for testing out different transports and get in touch with cumbersome ops
## TODO
- A huge one: explain the architecture...
- Another huge one: **code quality is frankly crappy at some layers** -> I need
to rework some stuff a bit.
## CARGO HEADS-UP
If using ssh `insteadOf` for global `.gitconfig`, make sure to:
```bash
eval `ssh-agent -s`
ssh-add
```
### Requirements
- Go (>1.15)
- Rust (>1.54)
- Protoc (`sudo apt install -y protobuf-compiler`, if using `apt`)
### Alternative (nix <3)!
- Install [`nix`](https://nixos.org/guides/install-nix.html)
- Install [`direnv`](https://direnv.net/docs/hook.html)
- Run (if using bash, follow the linked source if not):
```bash
eval "$(direnv hook bash)"
```
(add this to your `.bashrc`)
- Run:
```bash
echo "use nix" > .envrc && direnv allow
```
Off to go