This repository provides a simple example of using gRPC to maintain a to-do list. The example includes a server that manages the to-do list and a client that interacts with the server.
Before you begin, ensure you have the following installed:
- Node.js (v14.x or later)
- npm (v6.x or later)
-
Clone the repository:
git clone https://github.com/Aryog/gRPC_example.git cd gRPC_example
-
Install the dependencies:
npm install
To start the gRPC server, run the following command:
node server.js
Leave server running and now test from client To run the client, make requests in stream or http, run the following command:
node client.js Groceries