https://github.com/unlight/example-backend-api
https://github.com/unlight/example-backend-api
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/unlight/example-backend-api
- Owner: unlight
- Created: 2016-07-22T15:36:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-20T20:19:16.000Z (about 9 years ago)
- Last Synced: 2024-12-27T01:25:56.071Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
1. Let's say we have the structure (database table):
user
- id
- name
- city_id
role
- id
- name
user_role (n:m)
- user_id
- role_id
city (n:1)
- id
- name
2. We want to build rest API server with OData support.
3. /user?$select=id,name&$filter=name eq 'joe'&$expand=role,city