Skip to Content
Author's profile photo Helmut Tammen

OData server for node.js – Tutorial: Getting started

I already wrote two blogs (one, two) about my open source development OData server for node.js, in short n-odata-server. Cause I personally use it during development and testing of my SAPUI5 / OpenUI5 applications it is not just a node.js topic but maybe also interesting for SAP developers in general. Read blog one for more details.

As the package gets more mature also thanks to a few contributors I started writing more documentation.
Last weekend I created the first tutorial in a series of those. This tutorial enables you to setup a node.js project with a simple data model and provide an OData API for it.

You only need about 30 minutes to create your first OData service that you then can use in your UI5 applications (read blog two) or wherever.

You can find this tutorial at the wiki page of my github project.

I plan to write more tutorials that illustrate more details about a useful integration into your UI5 development projects.

Happy coding

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Nausheen Minaz Abdul Hameed
      Nausheen Minaz Abdul Hameed

      Hi Helmut,

      I am working on a SAPUI5 project with Nodejs and using n-odata-server. I am unable to access data from Mysql through n-odata-server(configured with loopback) for my application which is being developed with Web ide. Can you please help me with this? Does n-odata-server support mysql?

      Your response will be highly appreciated.


      Author's profile photo Helmut Tammen
      Helmut Tammen
      Blog Post Author

      Hi Nausheen,

      sorry for answering that late. I'm afraid I cannot help you. If loopback supports MySQL, n-odata-server also does cause n-odata-server leverages loopback for most things. There is no special db coding in n-odata-server.

      I successfully used In-Memory database, MongoDB and IBM Cloudant with n-odata-server. For Cloudant I had to fix a problem with the driver but that was no n-odata-server problem but one of the driver developed by IBM.

      So if you have problems with communication to MySQL database ask at loopback forum.

      Regards Helmut