RingCentral Engage Digital source server js template, for engage-digital-source-sdk-js.
todo
- Nodejs 8.10+/npm, recommend using nvm to install nodejs/npm.
- RingCentral Engage(Dimelo) account, request a demo.
Let's start a simple RingCentral Engage source server .
# 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
Follow Step by step guide to enable SDK source to prepare the source.
# create env file
cp .env.sample .env
# then edit .env, set proper setting according to the tip in .env
# run local dev server
npm start
Save your source, your server will get request, you check the request log from console.
npm run build
npx ringcentral-engage-source dist/server/index.js
https://github.com/ringcentral/engage-digital-source-sdk-js/blob/master/docs/deploy-to-lambda.md
MIT