Hi,
We are developing the service layer in node.js and we need to access the service layer directly from the CQ instance using sightly ( without using any CQ bundle)
It would be great if you can share some urls/documentation for the same.
Thanks
Samb
Solved! Go to Solution.
Views
Replies
Total Likes
I am not that familiar with node.js but can you not expose your service layer as REST calls and then consume them directly from CQ Components?
- Runal
Views
Replies
Total Likes
I am not that familiar with node.js but can you not expose your service layer as REST calls and then consume them directly from CQ Components?
- Runal
Views
Replies
Total Likes
You are not using JCR to store data in this use case, you want to use node.js and you want to access it using Sightly without a Java bundle? IS this correct?
If so -- I would recommend accessing node.js via Java:
https://strongloop.com/strongblog/node-js-java-getting-started/
When writing Sightly components, you can use Java as shown here:
https://helpx.adobe.com/experience-manager/using/creating-sightly-component.html
I do not think it's possible to access node.js from Sightly without using Java.
Views
Replies
Total Likes
Yes. I have exposed the node.js as a REST service and trying to access directly from sightly. My service will have the url like below and provide the json output.
Thanks
Samb
Views
Replies
Total Likes