grpc-ts-demo
๐ต Demo of a gRPC client and server implementation in TypeScript
File Explorer
Download Latest Version (.zip)- dependabot.yml
- songs.proto
- build-protos.sh
- add-songs.ts
- client.ts
- get-chat.ts
- get-song.ts
- live-chat.ts
- songs_grpc_pb.d.ts
- songs_grpc_pb.js
- songs_pb.d.ts
- songs_pb.js
- add-song.ts
- db.ts
- get-chat.ts
- get-song.ts
- index.ts
- live-chat.ts
- index.ts
- .eslintignore
- .eslintrc
- .gitignore
- .prettierrc
- LICENSE.md
- package.json
- README.md
- tsconfig.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/blokur/grpc-ts-demo
Downloads the entire project code from GitHub to your computer.
cd grpc-ts-demo
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
yarn
Downloads and installs the libraries listed in package.json.
yarn clean
Type this command into your terminal and run it.
yarn build
Builds optimized production files.
yarn start serve
Starts the development/run server.
yarn start get-song
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
