├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── authenticator.proto ├── cmd ├── README.md ├── app │ ├── client │ │ ├── go.mod │ │ ├── go.sum │ │ └── main.go │ └── server │ │ ├── audit.log │ │ ├── go.mod │ │ ├── go.sum │ │ └── main.go ├── go.mod ├── go.sum ├── protoc-gen-rpc-impl.go └── scaffold │ └── main.go ├── coverage.txt ├── entrypoint.sh ├── generator.go ├── go.mod ├── go.sum ├── go.work ├── go.work.sum ├── google └── api │ ├── annotations.proto │ ├── field_behavior.proto │ ├── http.proto │ ├── httpbody.proto │ └── resource.proto ├── graphql.proto ├── install.sh ├── k8s ├── app-deployment.yaml ├── app-loadbalancer.yaml ├── app-service.yaml ├── hpa.yaml ├── network-policy.yaml ├── pgbouncer-all.yaml ├── postgres-deployment.yaml ├── postgres-pvc.yaml └── postgres-service.yaml ├── pkg ├── db │ ├── .gitignore │ ├── db_gen.go │ ├── db_test.go │ ├── go.mod │ ├── go.sum │ └── query-engine-debian-openssl-3.0.x_gen.go ├── helpers │ ├── go.mod │ ├── go.sum │ ├── graphql.go │ └── logger.go ├── middlewares │ ├── auth.go │ ├── chain_middleware.go │ ├── cors.go │ ├── go.mod │ ├── go.sum │ ├── header.go │ ├── logging.go │ ├── middlewares_test.go │ └── rate_limiter.go ├── routes │ ├── generated_graphql_register.go │ ├── generated_register.go │ └── go.mod ├── schema.prisma └── services │ ├── README.md │ ├── auth_integration_test.go │ ├── authenticator.swagger.json │ ├── authenticator_server.go │ ├── generated │ ├── authenticator.graphql.go │ ├── authenticator.pb.go │ ├── authenticator.pb.gw.go │ ├── authenticator_grpc.pb.go │ ├── authenticator_mock.go │ ├── authenticator_server_test.go │ ├── go.mod │ └── go.sum │ ├── go.mod │ ├── go.sum │ ├── jwt.go │ └── jwt_test.go └── services.json /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore TLS certificate files and keys 2 | cmd/certs/ 3 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/README.md -------------------------------------------------------------------------------- /authenticator.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/authenticator.proto -------------------------------------------------------------------------------- /cmd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/README.md -------------------------------------------------------------------------------- /cmd/app/client/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/app/client/go.mod -------------------------------------------------------------------------------- /cmd/app/client/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/app/client/go.sum -------------------------------------------------------------------------------- /cmd/app/client/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/app/client/main.go -------------------------------------------------------------------------------- /cmd/app/server/audit.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/app/server/audit.log -------------------------------------------------------------------------------- /cmd/app/server/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/app/server/go.mod -------------------------------------------------------------------------------- /cmd/app/server/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/app/server/go.sum -------------------------------------------------------------------------------- /cmd/app/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/app/server/main.go -------------------------------------------------------------------------------- /cmd/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/go.mod -------------------------------------------------------------------------------- /cmd/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/go.sum -------------------------------------------------------------------------------- /cmd/protoc-gen-rpc-impl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/protoc-gen-rpc-impl.go -------------------------------------------------------------------------------- /cmd/scaffold/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/cmd/scaffold/main.go -------------------------------------------------------------------------------- /coverage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/coverage.txt -------------------------------------------------------------------------------- /entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/entrypoint.sh -------------------------------------------------------------------------------- /generator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/generator.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /go.work: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/go.work -------------------------------------------------------------------------------- /go.work.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/go.work.sum -------------------------------------------------------------------------------- /google/api/annotations.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/google/api/annotations.proto -------------------------------------------------------------------------------- /google/api/field_behavior.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/google/api/field_behavior.proto -------------------------------------------------------------------------------- /google/api/http.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/google/api/http.proto -------------------------------------------------------------------------------- /google/api/httpbody.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/google/api/httpbody.proto -------------------------------------------------------------------------------- /google/api/resource.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/google/api/resource.proto -------------------------------------------------------------------------------- /graphql.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/graphql.proto -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/install.sh -------------------------------------------------------------------------------- /k8s/app-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/k8s/app-deployment.yaml -------------------------------------------------------------------------------- /k8s/app-loadbalancer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/k8s/app-loadbalancer.yaml -------------------------------------------------------------------------------- /k8s/app-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/k8s/app-service.yaml -------------------------------------------------------------------------------- /k8s/hpa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/k8s/hpa.yaml -------------------------------------------------------------------------------- /k8s/network-policy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/k8s/network-policy.yaml -------------------------------------------------------------------------------- /k8s/pgbouncer-all.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/k8s/pgbouncer-all.yaml -------------------------------------------------------------------------------- /k8s/postgres-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/k8s/postgres-deployment.yaml -------------------------------------------------------------------------------- /k8s/postgres-pvc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/k8s/postgres-pvc.yaml -------------------------------------------------------------------------------- /k8s/postgres-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/k8s/postgres-service.yaml -------------------------------------------------------------------------------- /pkg/db/.gitignore: -------------------------------------------------------------------------------- 1 | # gitignore generated by Prisma Client Go. DO NOT EDIT. 2 | *_gen.go 3 | -------------------------------------------------------------------------------- /pkg/db/db_gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/db/db_gen.go -------------------------------------------------------------------------------- /pkg/db/db_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/db/db_test.go -------------------------------------------------------------------------------- /pkg/db/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/db/go.mod -------------------------------------------------------------------------------- /pkg/db/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/db/go.sum -------------------------------------------------------------------------------- /pkg/db/query-engine-debian-openssl-3.0.x_gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/db/query-engine-debian-openssl-3.0.x_gen.go -------------------------------------------------------------------------------- /pkg/helpers/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/helpers/go.mod -------------------------------------------------------------------------------- /pkg/helpers/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/helpers/go.sum -------------------------------------------------------------------------------- /pkg/helpers/graphql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/helpers/graphql.go -------------------------------------------------------------------------------- /pkg/helpers/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/helpers/logger.go -------------------------------------------------------------------------------- /pkg/middlewares/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/middlewares/auth.go -------------------------------------------------------------------------------- /pkg/middlewares/chain_middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/middlewares/chain_middleware.go -------------------------------------------------------------------------------- /pkg/middlewares/cors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/middlewares/cors.go -------------------------------------------------------------------------------- /pkg/middlewares/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/middlewares/go.mod -------------------------------------------------------------------------------- /pkg/middlewares/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/middlewares/go.sum -------------------------------------------------------------------------------- /pkg/middlewares/header.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/middlewares/header.go -------------------------------------------------------------------------------- /pkg/middlewares/logging.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/middlewares/logging.go -------------------------------------------------------------------------------- /pkg/middlewares/middlewares_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/middlewares/middlewares_test.go -------------------------------------------------------------------------------- /pkg/middlewares/rate_limiter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/middlewares/rate_limiter.go -------------------------------------------------------------------------------- /pkg/routes/generated_graphql_register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/routes/generated_graphql_register.go -------------------------------------------------------------------------------- /pkg/routes/generated_register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/routes/generated_register.go -------------------------------------------------------------------------------- /pkg/routes/go.mod: -------------------------------------------------------------------------------- 1 | module routes 2 | 3 | go 1.22.2 4 | -------------------------------------------------------------------------------- /pkg/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/schema.prisma -------------------------------------------------------------------------------- /pkg/services/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/README.md -------------------------------------------------------------------------------- /pkg/services/auth_integration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/auth_integration_test.go -------------------------------------------------------------------------------- /pkg/services/authenticator.swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/authenticator.swagger.json -------------------------------------------------------------------------------- /pkg/services/authenticator_server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/authenticator_server.go -------------------------------------------------------------------------------- /pkg/services/generated/authenticator.graphql.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/generated/authenticator.graphql.go -------------------------------------------------------------------------------- /pkg/services/generated/authenticator.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/generated/authenticator.pb.go -------------------------------------------------------------------------------- /pkg/services/generated/authenticator.pb.gw.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/generated/authenticator.pb.gw.go -------------------------------------------------------------------------------- /pkg/services/generated/authenticator_grpc.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/generated/authenticator_grpc.pb.go -------------------------------------------------------------------------------- /pkg/services/generated/authenticator_mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/generated/authenticator_mock.go -------------------------------------------------------------------------------- /pkg/services/generated/authenticator_server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/generated/authenticator_server_test.go -------------------------------------------------------------------------------- /pkg/services/generated/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/generated/go.mod -------------------------------------------------------------------------------- /pkg/services/generated/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/generated/go.sum -------------------------------------------------------------------------------- /pkg/services/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/go.mod -------------------------------------------------------------------------------- /pkg/services/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/go.sum -------------------------------------------------------------------------------- /pkg/services/jwt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/jwt.go -------------------------------------------------------------------------------- /pkg/services/jwt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/pkg/services/jwt_test.go -------------------------------------------------------------------------------- /services.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Protocol-Lattice/thunder/HEAD/services.json --------------------------------------------------------------------------------