https://github.com/bifrost-mesh/users-microservice
Users Microservice
https://github.com/bifrost-mesh/users-microservice
golang grpc
Last synced: 8 months ago
JSON representation
Users Microservice
- Host: GitHub
- URL: https://github.com/bifrost-mesh/users-microservice
- Owner: Bifrost-Mesh
- License: mit
- Created: 2025-07-04T03:23:14.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-07-05T10:27:01.000Z (9 months ago)
- Last Synced: 2025-07-13T10:05:29.064Z (9 months ago)
- Topics: golang, grpc
- Language: Go
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Users Microservice


## Development Environment Setup
Prerequisites :
- [Nix](https://github.com/DeterminateSystems/nix-installer)
- [Direnv](https://direnv.net/)
Once you have them installed :
1. Allow `direnv` to automatically land you into the **Nix development shell environment**, whenever you cd into this directory :
```shell script
direnv allow
```
## Null safety
We can analyze the sourcecode locally for potential nil panics using [nilaway](https://github.com/uber-go/nilaway), by running :
```shell script
nilaway ./...
```
However I'm not doing it in the CI, since a lot of false positives are reported.
## REFERENCEs
**GoLang** :
- [Go Microservice with Clean Architecture: Application Logging](https://medium.com/@jfeng45/go-microservice-with-clean-architecture-application-logging-b43dc5839bce)
- [How to get stacktraces from errors in Golang with go-errors/errors](https://www.bugsnag.com/blog/go-errors/)
- [A Beautiful Way To Deal With ERRORS in Golang HTTP Handlers](https://www.youtube.com/watch?v=aS1cJfQ-LrQ)
- [Setup pgx query logger](https://gist.github.com/zaydek/91f27cdd35c6240701f81415c3ba7c07)
- [Type conversions in GoLang](https://go.dev/ref/spec#Conversions)
- [Golden config for golangci-lint](https://gist.github.com/maratori/47a4d00457a92aa426dbd48a18776322)
**Security** :
- [How to Correctly Validate Passwords - Most Websites Do It Wrong](https://blog.boot.dev/open-source/how-to-validate-passwords/)
**CI** :
- [Optimize cache usage in builds](https://docs.docker.com/build/cache/optimize/)
- [The OpenContainers Annotations Spec](https://specs.opencontainers.org/image-spec/annotations/)
- [Cosign tutorial - signing OCI artifacts](https://github.com/avisi-cloud/cosign-tutorial)
- [Streamline your GitHub Actions dependencies using Nix](https://determinate.systems/posts/nix-github-actions/)
- [Kubescape PR scanner Github Actions workflow](https://github.com/kubescape/kubescape/blob/master/.github/workflows/a-pr-scanner.yaml)