Giter VIP home page Giter VIP logo

bot-fmk-dashboard's Introduction

Bot Framedash

This is an application insights based project that displays a bots analytics dashboard.

Preview

Preview Preview

Show With Your Own Data

  1. Clone
  2. Get an Application Insights App ID and Api Key
  3. Create the following .env file:
REACT_APP_APP_INSIGHTS_APPID={APP ID}
REACT_APP_APP_INSIGHTS_APIKEY={API KEY}
  1. Run npm start
  2. Open http://localhost:3000/

Deploy To Azure

  1. Fork this repo (to be able to automatically create github deployment key)
  2. Clone & Deploy:

from you new repo run:

clone https://github.com/[your-user-name/group]/bot-fmk-dashboard
cd bot-fmk-dashboard
cd deploy
cp dashboard.parameters.json dashboard.parameters.private.json

Edit dashboard.parameters.private.json and change the repo url to your own, and fix the other parameters as well.

azure login
azure account list
azure account set "{account id}"
azure group create "new-resource-group" -l "West Europe" -f dashboard.template.json -e dashboard.parameters.private.json

Since application insights API doesn't support ARM yet, we need to manually create an API Key for the application insights service. Once you created the api key, copy and paste it into the Web App ==> Application Settings ==> REACT_APP_APP_INSIGHTS_APIKEY.

  1. Go to azure portal
  2. Select: Resource Groups > [new resource group] > App Insights Service
  3. Copy Instrumentation Key and paste into your bot registration page (on the bottom)
  4. Click: API Access > Create New Key > +Read Telemetry
  5. Copy Application ID + API Key
  6. Select: Resource Groups > [new resource group] > Web App
  7. Under Application Settings > App Settings set the following values:
REACT_APP_APP_INSIGHTS_APPID: {Application ID}
REACT_APP_APP_INSIGHTS_APIKEY: {API Key}
  1. Save changes, go to Overview and restart the web app.
  2. Click on URL to see the dashboard

Used Repos Technologies

Resources

This project is built using:

The server approach was added using:

Thinking about integrating with:

Assumptions

  1. Running node version 4.5 or above.

Installation

git clone https://github.com/CatalystCode/bot-fmk-dashboard.git
cd bot-fmk-dashboard
npm install -g create-react-app
npm install

Dev

npm start

Test Watcher

Runs the test watcher in an interactive mode. By default, runs tests related to files changes since the last commit.

npm test

Build for Production

npm run build

What’s Inside?

bot-fmk-dashboard's People

Contributors

erikschlegel avatar anastasiia-zolochevska avatar morsh avatar deadlyfingers avatar cloudbeatsch avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.