Skip to content
Advertisement

How to build an odata service in node by json service

We have a requirement of reading the service and convert it into odata. Our target system only understands odata and the source cannot deliver odata. So we are trying to build node service to facilitate the same.

I tried to use CAP (https://cap.cloud.sap/docs/get-started/) but it seems it can only work with persisted data.

It would be really helpful if you can provide any insight or any guidance for the same. We are aware that all odata operations we have to handle it at node middle layer.

Advertisement

Answer

I was able to do this by using existing npm package – https://www.npmjs.com/package/simple-odata-server.

Regards, Ammy

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement