Palette Api

Backend Palette Api

Build Instructions

  • Install nvm following instructions from this url

  • Install this specific version of nodejs using nvm : 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 the smart-fir-app directory

  • Install dependencies : npm i

  • Install eslint for quick fixing of clean code rules: npm install -g eslint and npm 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