Backend Palette Api
-
Install
nvm
following instructions from this url -
Install this specific version of
nodejs
usingnvm
:nvm install v18.12.1
-
Check
nodejs
version by typing :node -v
-
If multiple versions are installed use the correct version :
nvm use v18.12.1
-
Remove
node_modules
folders if exist in thesmart-fir-app
directory -
Install dependencies :
npm i
-
Install eslint for quick fixing of clean code rules:
npm install -g eslint
andnpm install -g prettier
-
Run the below command to server in development mode.
smart-fir-app: $ npm run dev
-
Run the below command for the production mode.
smart-fir-app: $ npm run build