Skip to content

forinda/inventory-service-eucossa-2022

 
 

Repository files navigation

inventory-service-nodejs-2022-s1

Inventory management system using GRPC

Sample grpc implementations

Running the project in dev mode

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

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

Server

pnpm dev-rpc:server

Client

pnpm dev-rpc:client

About

Inventory management system using GRPC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Shell 0.5%