GithubHelp home page GithubHelp logo

isabella232 / ringcentral-notification-demo-ui-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ringcentral/ringcentral-notification-demo-ui-app

0.0 0.0 0.0 211 KB

A demo integration(notification app) for RingCentral desktop/web app, as a demo, shows you how to create a notification app with UI to config for RingCentral.

License: MIT License

JavaScript 72.29% Stylus 15.77% Pug 11.94%

ringcentral-notification-demo-ui-app's Introduction

ringcentral-notification-demo-ui-app

A demo integration(notification app) for RingCentral desktop/web app, as a demo, shows you how to create a notification app with UI to config for RingCentral.

Created with notification-app-js

DEV Prerequisites

  • Download and install RingCentral app and login: https://www.ringcentral.com/apps/rc-app
  • Nodejs 8.10+/npm, recommend using nvm to install nodejs/npm.
  • If you want to create RingCentral Glip integration that can show in RingCentral Glip apps list, you need a RingCentral developer account that can create Glip integration: you need sign up and apply for the permission to create Glip integration.
  • Need a account that can login to app.ringcentral.com

Quick start

Let's start this simple RingCentral Glip integration that post messages to a Glip team you selected.

# install dependecies
npm i

# start proxy server, this will make your local bot server can be accessed by RingCentral service
npm run ngrok

# will show
Forwarding                    https://xxxx.ap.ngrok.io -> localhost:6066
# Remember the https://xxxx.ap.ngrok.io, we will use it later

Goto RingCentral app's App list, select Incoming Webhook app, and choose a team, and copy the webhook url for later use, and confirm install.

# create env file
cp .env.sample .env
# then edit .env,
# set https://xxxx.ap.ngrok.io as RINGCENTRAL_APP_SERVER
# set webhook url copied as STATIC_WEBHOOK

# run local dev server
npm start

# run client
npm run c

Then visit https://ringcentral.github.io/ringcentral-notification-app-developer-tool?frameName=my-app&webhook=YOUR_WEBHOOK_URL&appUrl=https://xxxx.ap.ngrok.io to check how would it work in RingCentral app.

Deploy to AWS Lambda

cp deploy/env.sample.yml deploy/env.yml
cp deploy/serverless.sample.yml deploy/serverless.yml

# then edit deploy/env.yml and deploy/serverless.yml

# deploy
npm run deploy

More detail: https://github.com/ringcentral/glip-integration-js/blob/master/docs/deploy-to-lambda.md

ringcentral-notification-demo-ui-app's People

Contributors

zxdong262 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.