Skip to content

drobern/BenTickets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BenTickets

Framework for creating your own Ticketing site with Forums via the $20/year Zendesk account via API

node with Jade and Express using node-zendesk SEE: https://github.com/drobern/node-zendesk

run npm install to add all dependencies

create accounts in http://localhost:3000/user entry stored in db.json
NO DB REQUIRED

following fields required:

  • Email Address:
  • Passwrod:
  • Organizations: Object of n organizations entered as full object i.e {"organization":"11111","organization2":"22222"}
  • Forum ID to be visible for end user
Multiple organizations works well for resellers who service multiple customers.

Create all your Organizations in Zendesk and then each time you add a new User in your App, add a new Person ensuring you use the same email address, noting that this is case sensitive. Associate you Zendesk entry to the Organization created. In the information box provide the Full name and any other information you would like to be displayed when a ticket comment is entered

CREATE: A config.js file in your root folder with the following

    var config = {};

    config.username='EMAIL ADDRESS FOR ZENDESK'
    config.password='YOUR ZENDESK PASSWORD'
    config.token='TOKEN FOR YOU ZENDESK USER'
    config.remoteUri='https://COMPANY.zendesk.com/api/v2';

    module.exports = config;

REPLACE: The UPPERCASE words with your values from Zendesk

UPDATE: Email settings in apps.js to point to your email account (default for gmail)

    var smtpTransport = nodemailer.createTransport("SMTP",{
        service: "Gmail",
        auth: {
            user: "xxx@google.com",
            pass: "xxxxx"
        }
   });

UPDATE: Email welcome message and text for you email, website and company name

    var mailOptions = {
      from: "support@gmail.com",
      to: username,
      subject: "Your account had been created",
      text: "Welcome to Benbria Online ticket at http://xxxx.xxxx.com.\nPlease note your \nUsername: "+username+"\nPassword: "+password+"\nThank you\n xxxxx Team" ,
  }

UPDATE: 'To:' for the post to registerUser search for -

 to: "name@name.com", 

Update email triggers for customer notification links (Email/Twitter) to point to your site

Create an .ico file for your Organization and name it favicon.ico and copy it to folder public/img/

About

Benbria Support Ticketing site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published