angularjsnode.jsexpressairbrake

How to integrate airbrake my Nodejs project?


My project is written with Node and AngularJs, I want integrate Airbrake. I searched a lot, but still can't imagine how. I see ways by do this using node, angular directive, express. Which one I must use? or maybe all together? Can someone explain me whole logic of this and show example. Thanks)


Solution

  • You can install the same airbrake-js library in both applications, since airbrake-js supports Node and browser applications. The README explains more and the examples directory is a good place to start: https://github.com/airbrake/airbrake-js