Skip to content

This is a repo to demo how to implement gRPC-Web to ReactJS application.

Notifications You must be signed in to change notification settings

zalopay-oss/react-grpc-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React gRPC-Web

Build Status version version

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.

Image for running app

Generator Web

Get Started

Prerequisites

  • You need to install Docker in order to run the application

Installing

  • Clone this repository

Usage

  • Application has been wrapped by Docker so you need only run below command in terminal:
docker-compose up -d
docker-compose down -v

Support

  • 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

Authors

  • Tan Tong