Welcome to the ZD Debugger! This is a project that the Developer Advocacy team started during the first ever community day!
The goal of the project is to provide you a simple web application to assist with debugging Zendesk App issues you may encounter during development.
This app provides:
-
A GET/POST/DELETE endpoint for you to test calling external services. This is helpful for debugging secure request issues as you can then see the output after the request leaves the Zendesk Proxy.
-
A small JWT server for testing authorized requests.
The techstack:
- ExpressJS
- Prisma(ORM)
- SQLite
We will continue to add more features to this, so stay tuned!
- Clone the repository to your local
npm install
to install all of the dependenciesnpx prisma migrate dev --name init
to set up the SQLite database- Create a .env file and add the following into it:
DATABASE_URL=file:./users.db
PORT= WHATEVER PORT YOU WANT!
ACCESS_TOKEN_SECRET= WHATEVER YOU WANT!
npm run dev
to start up the server
Work with the app hosted on Glitch
- Click this link To make your own copy of the project
- Go to the .env file and add the following into it:
DATABASE_URL=file:./users.db
PORT= WHATEVER PORT YOU WANT!
ACCESS_TOKEN_SECRET= WHATEVER YOU WANT!
- Click "Tools" then "Terminal" and use the command
npx prisma migrate dev --name init
to set up the SQLite database - You're all set!