diff --git a/core/brain/mojad-brain.engine.ts b/core/brain/mojad-brain.engine.ts index 85fd7f3c..df08d7db 100644 --- a/core/brain/mojad-brain.engine.ts +++ b/core/brain/mojad-brain.engine.ts @@ -1,3 +1,10 @@ +if(event.type === "MARKETPLACE_SEARCH"){ + +return { +action:"RUN_MARKETPLACE_ENGINE" +}; + +} if(event.type === "GRAPH_QUERY"){ return { diff --git a/core/services/api/v1/marketplace/marketplace.routes.ts b/core/services/api/v1/marketplace/marketplace.routes.ts new file mode 100644 index 00000000..ae388827 --- /dev/null +++ b/core/services/api/v1/marketplace/marketplace.routes.ts @@ -0,0 +1,14 @@ +import express from "express"; + +const router = express.Router(); + +router.get("/", (req,res)=>{ + +res.json({ +success:true, +listings:[] +}); + +}); + +export default router;