In the brand new version of odata-v4-server (0.2.0) OData standard Type Definitions and Enums are now supported. Type Definitions are type aliases which are mapping your custom type implementations to standard OData Edm types. The best use case currently are MongoDB ObjectIDs. You can specify, that if you use the ObjectID type, then the client will understand, that it […]
Last time, we created a little example server to demonstrate computed properties. Now, we will extend that example with basic authentication using the popular Passport module and using the example server as an express.js router middleware. Include Passport First, we need to import some extra modules: [crayon-5b791a9ca243c184944255/] As you can notice, we imported new features […]
With the latest version of the JayStack OData V4 Server library, you can even more easily create computed properties on your entity models as before. If you are not yet familiar with the basic concepts of the odata-v4-server module, consider reading a comprehensive tutorial here. Entity model declaration In this tutorial, we will use this […]
JayStack OData v4 Server tutorial Introduction In this tutorial, we will create an OData v4 service using JayStack OData v4 Server and will use a MongoDB database as data storage. We will use TypeScript here, but you can use ES6 too to implement your OData service. Our data model will be a simple Northwind-like model […]
You can adjust all of your cookie settings by navigating the tabs on the left hand side.
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
3rd Party Cookies
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!