django-grpc-framework icon indicating copy to clipboard operation
django-grpc-framework copied to clipboard

django apps as grpc clients

Open smarru opened this issue 4 years ago • 1 comments

This is quite an interesting project, but I have an orthogonal question, sorry for asking on the wrong forum.

We have grpc services written in Java and a Django-based portal with vueJS front end. To communicate with grpc services, we end up adding a django rest framework layer to do the marshaling/unmarshalling of grpc to REST so VueJS can consume or add an Envoy Proxy on the server-side to expose REST api's. Do you happen to have pointers for us to directly consume grpc messages in a Django app with Vue.js front-end? -- Thank you

smarru avatar Mar 18 '21 10:03 smarru

Hello,

You should use grpc-web with an envoy filter.

AMontagu avatar Apr 06 '22 09:04 AMontagu