github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/examples/internal/browser/README.md (about)

     1  # Browser example
     2  
     3  This directory contains an example use of gRPC-Gateway with web browsers.
     4  The following commands automatically runs integration tests with phantomjs.
     5  
     6  ```shell-session
     7  $ npm install -g gulp-cli
     8  $ npm install
     9  $ gulp
    10  ```
    11  
    12  ## Other examples
    13  
    14  ### Very simple example
    15  
    16  Run
    17  
    18  ```shell-session
    19  $ gulp bower
    20  $ gulp backends
    21  ```
    22  
    23  then, open `index.html`.
    24  
    25  ### Integration test with your browser
    26  
    27  Run
    28  
    29  ```shell-session
    30  $ gulp serve
    31  ```
    32  
    33  then, open `http://localhost:8000` with your browser.