This app consists of two parts:
- Server: where gRPC serves the remote calls defined in the proto file
- Client: Express/Node Web APi for CRUD operations.
In order to run this app, follow the following steps:
- Open a new terminal window and execute the command below in the root directory of the application:
$ npm run generate:certs
- In the in the root directory of the application run the following commands:
$ npm start
- Open a new terminal window, with the previous terminal open, from the root directory of the application
naviage to the
client
folder and execute the following command:
$ node index
Then, go to http://localhost:50050/ and test it out.