This is a demo for using gRPC-Web with the React app. This application is built on top of create-react-app and wrapped by ReactRPC.
- You need to install Docker in order to run the application
- Clone this repository
- Application has been wrapped by Docker so you need only run below command in terminal:
docker-compose up -d
-
Access to url http://localhost:3000 to view app running
-
Run below command to stop application:
docker-compose down -v
- If you have any problems with Web Generators don't hesitate to make an issue
- Feel free to folk and submit pull requests
- You can try to modify proto file and re-generated stub client with grpc-web by run following command:
./scripts/build.sh
- Tan Tong