htammen / n-odata-server

Node.js OData Server
http://htammen.github.io/n-odata-server/
MIT License
84 stars 21 forks source link

Provode edmx/ metadata and get running service #35

Open JenneyJ opened 7 years ago

JenneyJ commented 7 years ago

HI,

Does your repo is supporting the scenario which I provide edmx/ metadata XML and it will generate service which can answer the calls according to the edm structure ?

Thanks, Jenney

renanwilliam commented 7 years ago

Hi Jenney,

The package generates the metadata and service according with your models in defined in Loopback. The application will have two basic end-points: the REST api generated from Loopback and the OData API generated by the package (that basic have the same collections from REST API).

Regards

JenneyJ commented 7 years ago

Thanks!

Just to verify, I must to provide models no edmx or metadata ...is it correct ?

renanwilliam commented 7 years ago

Hello,

Yes, you need to define your models in Loopback. Here you can check a example app: https://github.com/htammen/n-odata-server-example