Files
flatbuffers/grpc/examples/ts/greeter
Björn Harrtell 4fca4dc60c [TS/JS] Move TS tests to dedicated folder and deps upgrade (#7508)
* Move TS tests to dedicated folder and deps upgrade

* Attempt to fix generate_code

* Fix dir on CI

* Add js extension

* Fix missing extension

* Harmonize with test gen

* Unexplained code gen change

* Restore yarn.lock

* Naive attempt to fix bazel stuff

* Pin @bazel/typescript to 5.2.0

* Attempt to fix bazel

* More tweak

* Upgrade deps

* Tweak?

* Fix path

* Fix test package

Co-authored-by: Derek Bailey <derekbailey@google.com>
2022-09-12 20:03:23 -07:00
..
2021-05-20 11:34:17 -07:00

TS Greeter example

The following is an example on how to run the TS grpc server. Make sure that you have Typescript installed

you would need to run npm run build or simply use npm install && tsc

How to run Server:

  • npm run server

How to run Client:

  • npm run client 3000