├── .editorconfig ├── .github ├── ISSUE_TEMPLATE.md ├── PULL_REQUEST_TEMPLATE.md └── stale.yml ├── .gitignore ├── .jshintignore ├── .jshintrc ├── .npmignore ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── client └── README.md ├── common └── models │ ├── account.js │ ├── account.json │ ├── address.js │ ├── address.json │ ├── author.json │ ├── book.json │ ├── customer.js │ ├── customer.json │ ├── email-address.js │ ├── email-address.json │ ├── link.json │ ├── order.js │ ├── order.json │ ├── reader.json │ ├── shipment.js │ └── shipment.json ├── package.json ├── server ├── boot │ ├── a-customer-nest-remoting.js │ ├── authentication.js │ ├── root.js │ ├── sample-customers.js │ ├── z-book-people.js │ ├── z-customer-accounts.js │ ├── z-customer-address.js │ └── z-customer-emails.js ├── component-config.json ├── config.json ├── datasources.json ├── middleware.json ├── model-config.json ├── server.js └── views │ ├── account.ejs │ ├── address.ejs │ ├── email.ejs │ └── index.ejs └── test ├── rest_api_test.js └── start-server.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- 1 | /client/ 2 | /node_modules/ 3 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/.jshintrc -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/.npmignore -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/README.md -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- 1 | ## Client 2 | 3 | This is the place for your application front-end files. 4 | -------------------------------------------------------------------------------- /common/models/account.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/account.js -------------------------------------------------------------------------------- /common/models/account.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/account.json -------------------------------------------------------------------------------- /common/models/address.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/address.js -------------------------------------------------------------------------------- /common/models/address.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/address.json -------------------------------------------------------------------------------- /common/models/author.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/author.json -------------------------------------------------------------------------------- /common/models/book.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/book.json -------------------------------------------------------------------------------- /common/models/customer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/customer.js -------------------------------------------------------------------------------- /common/models/customer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/customer.json -------------------------------------------------------------------------------- /common/models/email-address.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/email-address.js -------------------------------------------------------------------------------- /common/models/email-address.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/email-address.json -------------------------------------------------------------------------------- /common/models/link.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/link.json -------------------------------------------------------------------------------- /common/models/order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/order.js -------------------------------------------------------------------------------- /common/models/order.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/order.json -------------------------------------------------------------------------------- /common/models/reader.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/reader.json -------------------------------------------------------------------------------- /common/models/shipment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/shipment.js -------------------------------------------------------------------------------- /common/models/shipment.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/common/models/shipment.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/package.json -------------------------------------------------------------------------------- /server/boot/a-customer-nest-remoting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/boot/a-customer-nest-remoting.js -------------------------------------------------------------------------------- /server/boot/authentication.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/boot/authentication.js -------------------------------------------------------------------------------- /server/boot/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/boot/root.js -------------------------------------------------------------------------------- /server/boot/sample-customers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/boot/sample-customers.js -------------------------------------------------------------------------------- /server/boot/z-book-people.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/boot/z-book-people.js -------------------------------------------------------------------------------- /server/boot/z-customer-accounts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/boot/z-customer-accounts.js -------------------------------------------------------------------------------- /server/boot/z-customer-address.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/boot/z-customer-address.js -------------------------------------------------------------------------------- /server/boot/z-customer-emails.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/boot/z-customer-emails.js -------------------------------------------------------------------------------- /server/component-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/component-config.json -------------------------------------------------------------------------------- /server/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/config.json -------------------------------------------------------------------------------- /server/datasources.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/datasources.json -------------------------------------------------------------------------------- /server/middleware.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/middleware.json -------------------------------------------------------------------------------- /server/model-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/model-config.json -------------------------------------------------------------------------------- /server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/server.js -------------------------------------------------------------------------------- /server/views/account.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/views/account.ejs -------------------------------------------------------------------------------- /server/views/address.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/views/address.ejs -------------------------------------------------------------------------------- /server/views/email.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/views/email.ejs -------------------------------------------------------------------------------- /server/views/index.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/server/views/index.ejs -------------------------------------------------------------------------------- /test/rest_api_test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/test/rest_api_test.js -------------------------------------------------------------------------------- /test/start-server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/strongloop/loopback-example-relations/HEAD/test/start-server.js --------------------------------------------------------------------------------