Skip to content

Commit a57be1a

Browse files
authored
Merge pull request #6 from oslabs-beta/jeff/soap
adding instructions for testing GRPC to docs
2 parents 588f2ab + c96abd8 commit a57be1a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/How to test GRPC

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
To use GRPC with a local express server on port 30051:
2+
1. Ensure all dependencies are installed (npm install)
3+
2. Uncomment line 133 in test/grpcServer.js
4+
3. npm run dev
5+
4. npm run server-grpc
6+
5. In Swell (dev) app, select the GRPC composer
7+
6. Enter Stream: 0.0.0.0:30051
8+
7. Load test proto: swell/test/hw2.proto
9+
8. Select a service below. All of them should work.
10+
9. Click add to workspace
11+
10. Send! You should receive an appropriate response
12+
13+
Note: from my research, GRPC is mainly used between shared backend microservices so I think it would be difficult to test outside of this environment.

0 commit comments

Comments
 (0)