Git Product home page Git Product logo

grpc-web-example's Introduction

gRPC-web-example

This repository is for my article on Medium about gRPC.

How to run the project

Run gRPC server

go run ./server/main.go

Run gRPC client

yarn install
yarn build
yarn start

open http://localhost:8080/ on browser to test

grpc-web-example's People

Contributors

moemoe89 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

lemito

grpc-web-example's Issues

Module Not Found Issue

Hi , Thanks for your tutorial, however am finding it difficult to make the client work. It always shows the below error.

`
ERROR in ../files/web/hello_pb.js
Module not found: Error: Can't resolve 'google-protobuf' in '/Users/******/Documents/iva/grpc-web-example/files/web'
@ ../files/web/hello_pb.js 14:11-37
@ ./main.ts

ERROR in ../files/web/HelloServiceClientPb.ts
Module not found: Error: Can't resolve 'grpc-web' in '/Users/********/Documents/iva/grpc-web-example/files/web'
@ ../files/web/HelloServiceClientPb.ts 12:16-35
@ ./main.ts
~/Docu/s/iva/grpc-web-example/client ๎‚ฑ main !2 ?1 ๎‚ฐ `

I deleted the node_modules folder, it didnt work
tried with npm , didnt work
manually installed the dependencies, didnt work.

can you help me with this ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.