Skip to content

Commit 84dd5bb

Browse files
committed
Initial start on a Connect RPC backend server
This is the initial version of a Connect RPC backend server written in Go. At the moment it doesn't support any sort of authentication, that's TBD. ``` curl http://localhost:8080/algobowl.user.v1.UserService/GetUserInfo --header 'Content-Type: application/json' --data '{"username": "jrosenth"}' {"user":{"id":"28263","username":"jrosenth","email":"jack@rosenth.al","displayName":"Jack Rosenthal","isAdmin":true}} ```
1 parent 1c252fa commit 84dd5bb

File tree

11 files changed

+622
-0
lines changed

11 files changed

+622
-0
lines changed

buf.gen.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: v2
2+
managed:
3+
enabled: true
4+
override:
5+
- file_option: go_package_prefix
6+
value: github.com/jackrosenthal/algobowl/gen
7+
plugins:
8+
- remote: buf.build/protocolbuffers/go:v1.36.6
9+
out: gen
10+
opt:
11+
- paths=source_relative
12+
- remote: buf.build/connectrpc/go:v1.18.1
13+
out: gen
14+
opt:
15+
- paths=source_relative

buf.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# For details on buf.yaml configuration, visit https://buf.build/docs/configuration/v2/buf-yaml
2+
version: v2
3+
lint:
4+
use:
5+
- STANDARD
6+
breaking:
7+
use:
8+
- FILE
9+
modules:
10+
- path: proto

gen/algobowl/user/v1/user.pb.go

Lines changed: 258 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/algobowl/user/v1/userv1connect/user.connect.go

Lines changed: 108 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)