We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a8bae3 commit c5206f6Copy full SHA for c5206f6
src/routes/api/project/index.ts
@@ -0,0 +1,12 @@
1
+import { Router } from 'express'
2
+import Controller from './controller'
3
+import Validator from './validators'
4
+import { successListener } from 'rabbitmq/jobqueue'
5
+
6
+const router: Router = Router()
7
+const validator = new Validator()
8
9
+router.post('/', validator.POST, Controller.runPOST)
10
+successListener.on('project_result', Controller.onSuccess)
11
12
+export default router
0 commit comments