Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (24 loc) · 1.14 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.14 KB

OData Mock

npm version

The OData mock mocks the application APIs based on the OData specification.

Features

The OData mock brings you the following features:

  • Based on the n-odata package: The odata-mock application is based on the n-odata-server project, which is based on loopback.

  • Returns the OData specification as metadata: Call /odata/$metadata to see the OData edmx specification used in xml format.

Development

Make sure you have first executed make resolve from the project root!

To run the Odata mock locally with an empty configuration, use:

npm start

To run it locally with debug logs enabled and an example configuration from the test suite, use:

npm run start:dev

After the startup, you have access to:

  • odata API - http://localhost:10000/odata/
  • odata metadata - http://localhost:10000/odata/$metadata
  • rest API - http://localhost:10000/api/console