Frontend and gateway service made with T3 for a CVE dashboard application.
This is a T3 Stack project bootstrapped with create-t3-app
. Tools used:
Required environment variables (define in .env
):
GRPC_AUTH_URL
- cve-dashboard-auth service URLGRPC_CVE_URL
- cve-dashboard-service service URL
Example of gRPC service file generation (root dir, Windows):
.\node_modules\.bin\grpc_tools_node_protoc \
--plugin=protoc-gen-ts_proto=.\node_modules\.bin\protoc-gen-ts_proto.cmd \
--ts_proto_out="<absolute output dir path>" \
--ts_proto_opt="outputServices=nice-grpc,outputServices=generic-definitions,useExactTypes=false" \
--proto_path=./src/server/api/proto \
./src/server/api/proto/auth.proto