Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/immatt/zendesk-ticket-viewer
A Ticket View for Zendesk built using NodeJS + Express
https://github.com/immatt/zendesk-ticket-viewer
express nodejs pugjs zendesk-api
Last synced: 30 days ago
JSON representation
A Ticket View for Zendesk built using NodeJS + Express
- Host: GitHub
- URL: https://github.com/immatt/zendesk-ticket-viewer
- Owner: imMatt
- Created: 2017-07-11T08:19:50.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-16T13:19:37.000Z (over 7 years ago)
- Last Synced: 2024-10-19T02:14:47.435Z (3 months ago)
- Topics: express, nodejs, pugjs, zendesk-api
- Language: HTML
- Homepage:
- Size: 4.08 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Zendesk Logo](https://d1eipm3vz40hy0.cloudfront.net/images/p-brand/zendesk-wordmark.svg)](http://expressjs.com/)
# A Ticket View for Zendesk built using NodeJS + Express & PugJS (formerly know as Jade)
Built as part of the recruitment process for the 2017 Zendesk Internships[![Build Status](https://travis-ci.org/Matt-Allen44/TicketZen.svg?branch=master)](https://travis-ci.org/Matt-Allen44/TicketZen)
[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.png?v=103)](https://github.com/ellerbrock/open-source-badges/)#### Installation
```bash
$ npm install
```
#### Running
```bash
$ npm run
-- then navigate to localhost:3000
```
#### Test
```bash
$ npm testexample output:
> ticketzen@0.0.0 test B:\TicketZen
> mocha test.js --timeout 15000
loading express
GET / 200 217.218 ms - 1111
√ responds to / (237ms)
GET /foo/bar 404 38.243 ms - 822
√ 404 everything else (44ms)
ticket routes
GET /tickets 200 6299.421 ms - 9881
√ tickets overview (6301ms)
GET /ticket?id=1 200 1900.043 ms - 1676
√ specific ticket (1904ms)
GET /ticket 400 2311.014 ms - 868
√ specific ticket (no id) (2314ms)
GET /ticket?id=9999 404 448.386 ms - 874
√ non-existing ticket (450ms)
6 passing (12s)```
## Features
* Displays a list of all tickets
* Pages through 25 tickets at a time
* Displays individual tickets## Usage
* install using npm install
* run testes using npm test (optional)
* set auth details in the config folder (my zendesk details are still there for testing by Zendesk - not an active account)
* Run the script using npm run
* navigate to localhost:3000 to view the page
* the overview can be found at /tickets
* individual tickets can be found at /ticket?id={ticket-id}