Inventory management system using GRPC
Sample grpc implementations
To run the project you need to have nodejs installed on your computer
On windows systems the installation comes packed with nodejs already i.e npm
On linux there are a variety of ways you can use to install nodejs
- Using
nvm
- Using
node source control
- Installing the
tarball
Nvm Documentation is easy to work with.
Once you have installed nvm
run the following command
nvm install --lts
The command should install the latest version of nodejs i.e >=18.*.*
This should have with it npm
installed
Next we'll choose a package manager between
npm You can read more on
npm
yarn You can also read more on
yarn
pnpm You can also read more on
pnpm
Going forward we'll use pnpm
as our package manager
We'll use pnpm
as our package manager. To install it in your system run npm i -g pnpm
Once you've installed the pnpm
package manager the install the node_modules
using the following command
pnpm install
#or
pnpm i
Once all modules are installed to run either servers follow the steps below
pnpm dev-rpc:server
pnpm dev-rpc:client