GithubHelp home page GithubHelp logo

isabella232 / charts-embedding-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mongodb/charts-embedding-examples

0.0 0.0 0.0 119 KB

charts-embedding-examples

License: Apache License 2.0

C# 14.75% HTML 25.18% JavaScript 22.67% Java 11.30% Python 9.69% PHP 9.00% CSS 7.41%

charts-embedding-examples's Introduction

Deprecated

This repository contains samples for Verified Signature embedding which is now deprecated. For most new scenarios you should use the new Charts Embedding SDK. Examples on using the SDK can be found in this repo, here

MongoDB Charts Embedding Examples

MongoDB Charts allows you to create visualizations of your MongoDB data using a simple web interface. You can view the visualizations within the Charts UI, or you can use the Embedding feature to render the charts in an external web application. When you embed a chart, you can choose whether you want it to be Unauthenticated (meaning anyone who has the embed code can view the chart), or to use "Verified Signature" authentication (which checks the integrity of a signature in the URL before the chart will render).

For the "Unauthenticated" option, you can copy the provided snippet and include it in any web site; no extra steps are required.

The Verified Signature option requires a few more steps to implement but it is more secure โ€” your app will generate the signature on the server side after first authenticating and authorizing the user, and the URL will stop working after a specified time period.

This repo contains several versions of a simple sample app showing how to implement "Verified Signature" authentication. Each sample shows a different server-side language or platform. The languages currently included in this repository are:

If you are using a server-side platform that we do not currently have a sample for, you will still be able to implement Verified Signature authentication as long as your language supports hashing of strings using the HMAC algorithm. You can use the included samples to understand the inputs to the hash function and how to constuct the required IFRAME URL.

For further information on using MongoDB Charts and the Embedding capabilities, please see the Charts documentation.

charts-embedding-examples's People

Contributors

tomhollander avatar andym03 avatar rueckstiess avatar jalder avatar jarjee 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.