Git Product home page Git Product logo

zendify's Introduction

Zendify

An mini platform for send tickets into Zendesk.

Setup

  1. Create a Zendesk account.
  2. Create a new token in Admin panel > Channels > API.
  3. Put the SUBDOMAIN*, USERNAME, and TOKEN into the .env.example file and rename it for .env.
  4. Create an Auth0 account.
  5. Crate a new client in Clients menu > Create client or modify the default one.
  6. Set http://localhost:3000 in Allowed Callback URLs and Allowed Origins (CORS).
  7. Get the CLIENT ID, CLIENT SECRET, and DOMAIN then put them into the .env file as you did it before.
  8. Create a new user in Users menu for test it.

*The SUBDOMAIN is the subdomain part of your https://<SUBDOMAIN>.zendesk.com/ URL.

Development

  1. Follow the Setup steps above.
  2. Install the dependencies running npm install.
  3. Start the development mode running npm run dev.
  4. Open the browser at http://localhost:3000.

The development mode starts the server listening its changes with nodemon. Also, it is listening the client changes with webpack-dev-server that have integrated the HMR. Learn more about HRM.

Deploy to Heroku

  1. Follow the Setup steps above but instead of put the tokens in the .env file you have to add them on Heroku* and in the step 6 add your herokuapp domain.
  2. Add them as enviroment variables in Settings tab > Reveal Config Vars button.
  3. Deploy the app as usual with git push heroku master. Learn more.

*Environment variables that you need to have on Heroku:

NODE_ENV              = production
NPM_CONFIG_PRODUCTION = false
ZENDESK_SUBDOMAIN     = <YOUR_SUBDOMAIN>
ZENDESK_TOKEN         = <YOUR_ZENDESK_TOKEN>
ZENDESK_USERNAME      = <YOUR_ZENDESK_USERNAME>
AUTH0_CLIENT_ID       = <YOUR_CLIENT_ID>
AUTH0_CLIENT_SECRET   = <YOUR_CLIENT_SECRET>
AUTH0_DOMAIN          = <YOUR_CLIENT_DOMAIN>

zendify's People

Contributors

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