import Job from './handlers/job'
import Home from './handlers/home'
import Ping from './handlers/ping'

export default [
  { method: 'GET', path: '/', config: { auth: false, handler: Home } },

  { method: 'GET', path: '/ping', config: { auth: false, handler: Ping } },

  { method: 'POST', path: '/jobs', config: Job.create },
  { method: 'GET', path: '/jobs/{id}', config: Job.get },
  { method: 'GET', path: '/jobs', config: Job.getAll },
  { method: 'DELETE', path: '/jobs/{id}', config: Job.remove },
  { method: 'PUT', path: '/jobs/{id}', config: Job.update }
]

@@ -61,16 +61,55 @@
 s/home'%0A
+import Github from './handlers/github'%0A
 import P
@@ -597,11 +597,84 @@
 update %7D
+,%0A%0A  %7B method: 'GET', path: '/github/activities', config: Github.getAll %7D
 %0A%5D%0A

Add get all github activities route