A very basic auth service with grpc and node
- /proto: the protocol buffers configuration
- /service: the authenticate user service
- /dummy: a simple client to test the authentication service
docker build -t auth-service .
docker run -d auth-service
The proto files are already generated, if users.proto is modifyed these files need to be re generated using de bash file in /proto or the command npm run build. If the bash file does not work you can run the command manually
npx grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./proto --grpc_out=./proto -I ./proto proto/*.proto
npx grpc_tools_node_protoc --ts_out=./proto -I ./proto proto/*.proto