Coder Social home page Coder Social logo

niko150 / smooch-desk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zendesk/sunshine-conversations-desk

0.0 2.0 0.0 1.8 MB

A sample business system built with Meteor and the Smooch API

License: GNU General Public License v3.0

CSS 66.77% JavaScript 29.99% HTML 3.23%

smooch-desk's Introduction

SmoochDesk

A sample business system built with Meteor and the Smooch API.

Intended use: This code is a proof of concept and is not meant to be used in production. It should be used as a reference only to create your own implementation.

screen shot 2017-05-02 at 12 14 59 pm

How do you run this?

  1. Install meteor. Note that currently this project requires meteor 1.6

    curl https://install.meteor.com/?release=1.6 | sh

  2. Clone this repository

    git clone https://github.com/smooch/smooch-desk.git

  3. In the smooch-desk directory, run npm install and meteor npm install

  4. Configure a Smooch webhook to send "All Triggers" to your smoochDesk app at the "/hook" route

  5. Using the settings.json.example file as a guide, create a settings.json file and populate the missing fields:

    • For smoochSecretKey and smoochKeyId: You need an account level key, found under https://app.smooch.io/account. (If your smoochKeyId has an app_ prefix, it won't work)

    • The smoochAppId can be found in your app's settings page.

  6. Run it:

    meteor --settings settings.json

    You can visit "/web-messenger" to send test messages as an end-user

Based on Meteor Slack

This project's structure and UI is based on work done by [@timbrandin] as part of his Meteor Slack project. Substantial changes have been made since to repurpose the project for use as a Smooch "business system" example. As such, this code is made available under the GPL.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


Comment:

find server client -not \( -path client/compatibility -prune \) -type f -name '*.js' -print0 | xargs -0 sed -i '' 's/\(\/\*\*.*\*\/$\)/\1\/\*/g'

Uncomment:

find server client -not \( -path client/compatibility -prune \) -type f -name '*.js' -print0 | xargs -0 sed -i '' 's/\(\/\*\*.*\)\/\*$/\1/g'

smooch-desk's People

Contributors

alavers avatar gozman avatar kvgauthier avatar spasiu avatar

Watchers

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