Application Insights Guestbook Demo

This demo is to show how you can instrument the Node.js and Browser Application Insights SDKs into a single MERN app. The guestbook interacts with a local Express API to add/retrieve guestbook entries from an extern Mongo database. The front-end is written in React. You must supply your own mongoDB url in index.js in order to run!

npm install
npm --prefix ./client/node_modules install ./client
npm run start-both

How to get the SDKs for your own application

Browser SDK

npm i --save @microsoft/applicationinsights-web

Node.js SDK

npm i --save applicationinsights

**Extended Node.js Metrics (Optional)

npm i --save applicationinsights-native-metrics