Giter Site home page Giter Site logo

omadoyeabraham2 / kitchensink Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mr-robert/kitchensink

0.0 2.0 0.0 17.11 MB

A living tutorial of the join.me public API.

License: BSD 3-Clause "New" or "Revised" License

ASP 3.83% C# 0.52% CSS 7.09% JavaScript 88.56%

kitchensink's Introduction

The join.me Kitchen Sink app is a tutorial to demonstrate how to use the join.me API.

How It Works

The join.me Kitchen Sink app implements every API call on a single page application. When a user lands on the page for the first time, they are given a message indicating they need to OAuth with join.me to give the app permission. The Kicthen Sink uses hello.js to make OAuth and API interactions easy. The OAuth token is stored by hello.js in localStorage.

You may also find details on implementing OAuth manually with the join.me API on our Authorization documentation page. The join.me API page also includes more information on preserving/renewing OAuth tokens.

After this, the individual endpoints are all called in the js/joinmeendpoints folder. Examples for how to call each of the join.me API endpoints using hello.js can be viewed there.

Setting it up on your own instance

This code is runnable with some simple setup:

  1. Download this and open the solution file in Visual Studio 2013.

  2. Open Web.config, and fill in the APIKey app setting with the key from your application on the https://developer.join.me site.

  3. Ensure that the redirect uri of your application on the https://developer.join.me site is equal to the homepage of the kitchensink app where you intend to host it. For example, if you are running it locally on https://localhost:443/ or http://localhost/KitchenSink/ , that should be your redirect uri. Note that this is the default redirect uri used by hello.js which is equal to the url of the current page when hello.js is embeded. hello.js also allows using a custom redirect uri, which is shown on their page, however it is important to note that the page at the redirect uri must also include the hello.js library or the accessToken returned can not be written to localStorage.

Special Thanks

The following packages/libraries are in use in this project:

License

The join.me Kitchen Sink source is BSD licensed.

kitchensink's People

Watchers

James Cloos avatar Omadoye Abraham 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.