Just like the name, this is a learning project to get myself famaliar with React and Cisco Spark SDK.
npm install
npm run build
node server
go to `localhost:3000`
- Backend was implemented using
Node.js
. - Frontend was implemented using
React
. - The connection between backend and frontend was hanlded using
socket.io
. - Use
ngrok
to build a tunnel betweenlocalhost
and a real ip address. - Use
CiscoSpark
SDK to implement the chat, message and video call functions.
delete.js
file is for deleting redundant webhooks. (SeeHow to use
delete.js` section)
- Download Postman.
- Open a new tab, enter: https://api.ciscospark.com/v1/webhooks with
GET
request. - Go to
Header
, setContent-type
toapplication/json; charset=utf-8enter
andAuthorization
toBearer {your access token}
. (Note there is a space betweenBearer
and the token) - Click
Send
. - Copy the json output to
fuck
variable indelete.js
. (Forgive the variable name :p) - Save file and go to terminal,
node delete
.