This is the back end of a sample application that uses node cpp addon to perform calculations and send the results back to front end.
npm i express body-parser cors node-addon-api npm i node-gyp --save-dev
//for node.js 18 or higher node --watch server.js