Open carlobortolan opened 6 months ago
Your Testserver will be ready at https://1279.test.live.mm.rbg.tum.de in a few minutes.
Why was this closed?
Why was this closed?
Looks like GitHub automatically closed the PR when I renamed the branch to enh/api_v2.
API/v2
Motivation and Context
This PR implements the current state of the new gocast gRPC API/v2 used by gocast mobile as part of the iPraktikum. You can find a detailled documentation of all currently implemented gRPC methods in our Postman collection.
Description
Files changed outside the
api_v2
dir:Changes related to push notifications:
For the push notifications, we went with Firebase Cloud Messaging, as it is also used by the TUM Campus APP. If you want to enable push notifications, see this setup guide (TL;DR: Add the
fcmServerKey
entry to theconfig.yaml
and you're good to go).tools/config.go
model/user.go
dao/courses.go
config.yaml
[api/worker_grpc.go]()
cmd/tumlive/tumlive.go
go.mod
Expose port 12544 for gRPC API/v2:
Steps for Testing
See Postman collection for different test cases for each gRPC method.