{"_id":"@backwood/backwood","_rev":"11-a25a308deb8003a2634a9d11ed577da1","name":"@backwood/backwood","description":"Feathers provider for Adonis","dist-tags":{"latest":"1.0.11"},"versions":{"1.0.2":{"name":"@backwood/backwood","homepage":"https://github.com/marcus-sa/backwood","version":"1.0.2","description":"Feathers provider for Adonis","main":"index.js","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"dependencies":{"lodash":"*","@adonisjs/fold":"*","@feathersjs/feathers":"*"},"author":{"name":"Marcus S. Abildskov"},"license":"MIT","bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"_id":"@backwood/backwood@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"},"dist":{"integrity":"sha512-TAAukuATh4DI4y/pP1atG6GUZYxs0OexlZ8vHPx0ywVK4zXmzMG8G4ZQPUz68YBxodm7F4XjryMh+wlu49iYMw==","shasum":"a54755a0f158e67954c0dc18eb0ee14558e804c8","tarball":"https://registry.npmjs.org/@backwood/backwood/-/backwood-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi4Xh1wHLcUXAjvsaItgR5munVfllOGMA1Cma/uMhxXwIgOeSJ7l1fKv7I7OKkEkWn5CWvJ0P6DRBXnwQVS2R2YMA="}]},"maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backwood-1.0.2.tgz_1517694365980_0.9416204809676856"},"directories":{}},"1.0.3":{"name":"@backwood/backwood","homepage":"https://github.com/marcus-sa/backwood","version":"1.0.3","description":"Feathers provider for Adonis","main":"index.js","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"dependencies":{"lodash":"*","@adonisjs/fold":"*","@feathersjs/feathers":"*"},"author":{"name":"Marcus S. Abildskov"},"license":"MIT","bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"_id":"@backwood/backwood@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"},"dist":{"integrity":"sha512-cqkh6tbxxl4CQ6LQV+DyzJFpWKs31RnTkTe/bP+V1eOXV9wP8wyI4/lhajkduKe9H60GJpQAbpTJPirRFVau9w==","shasum":"e9b2684653cc85eb1fe66f2f41e94b763a59c70a","tarball":"https://registry.npmjs.org/@backwood/backwood/-/backwood-1.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJwOdUzIaGOw7rmTdGSkRIuy+jF34D1/SeI3//GJ8M4AiEAjjEI9iIMPggSKEcRKexDVHzEVFjxklR0bIjbupFx8Cs="}]},"maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backwood-1.0.3.tgz_1517696759690_0.28839242085814476"},"directories":{}},"1.0.4":{"name":"@backwood/backwood","homepage":"https://github.com/marcus-sa/backwood","version":"1.0.4","description":"Feathers provider for Adonis","main":"index.js","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"dependencies":{"lodash":"*","@adonisjs/fold":"*","@feathersjs/feathers":"*","pascal-case":"*"},"author":{"name":"Marcus S. Abildskov"},"license":"MIT","bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"_id":"@backwood/backwood@1.0.4","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"},"dist":{"integrity":"sha512-yt7Ab7B14jZNNmwYvNXTMeb1LVRHBY9x6rHJhkU+wCtlcAPcX5fy3h2rP1rmL6oXEN/JIAubOt0u51+HOLVn9A==","shasum":"fc8210520735e8e4fb2d8ba8798218a7dca981b0","tarball":"https://registry.npmjs.org/@backwood/backwood/-/backwood-1.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID7iO1FH4b48kN8Mt8k9OMnePrr57HPg5St8TuSCXgxSAiBoGhaWVkGIpq7uQYqUtLFPLcYNKxJT/YKkz479tmbh0A=="}]},"maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backwood-1.0.4.tgz_1517826031436_0.7215549573302269"},"directories":{}},"1.0.5":{"name":"@backwood/backwood","homepage":"https://github.com/marcus-sa/backwood","version":"1.0.5","description":"Feathers provider for Adonis","main":"index.js","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"dependencies":{"lodash":"*","@adonisjs/fold":"*","@feathersjs/feathers":"*","pascal-case":"*"},"author":{"name":"Marcus S. Abildskov"},"license":"MIT","bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"_id":"@backwood/backwood@1.0.5","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"},"dist":{"integrity":"sha512-mEgYv0mf+XJpCnUR07QfvSmLzUPsAlpG2CNw5ZUwzruX3fDoGaEzmDwHQHunZ/aJW04d0V36t7s2g/ov5hrISg==","shasum":"f336e7a96925decaa576b3303f78e4251f6d20b2","tarball":"https://registry.npmjs.org/@backwood/backwood/-/backwood-1.0.5.tgz","fileCount":6,"unpackedSize":8172,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHT1GwKfMIIzO1M2xBCwf9vxS/grR4B/E+sGjyff+G/AiEAh3CsJQVzJln5etBGI7MrEtlYPefp1ekUAAvuiif+AJE="}]},"maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backwood_1.0.5_1517957879019_0.5070657797227378"},"_hasShrinkwrap":false},"1.0.6":{"name":"@backwood/backwood","homepage":"https://github.com/marcus-sa/backwood","version":"1.0.6","description":"Feathers provider for Adonis","main":"index.js","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"dependencies":{"lodash":"*","@adonisjs/fold":"*","@feathersjs/feathers":"*","pascal-case":"*"},"author":{"name":"Marcus S. Abildskov"},"license":"MIT","bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"_id":"@backwood/backwood@1.0.6","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"},"dist":{"integrity":"sha512-TA9nquYoesKbPVSa9ZmUZTkrofKLi1qfznWVdl02IDSp+DXdpKqCZ7PBv2F6NTb5sTUQh78w/R9IbkjyIBWT9A==","shasum":"c47a958eadbba639e424f5891f73828811c3c851","tarball":"https://registry.npmjs.org/@backwood/backwood/-/backwood-1.0.6.tgz","fileCount":6,"unpackedSize":8713,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2dzfJ5cYTUMLcSNabEKIXMV5TFvesYZ1NhUC9q8sHPQIhALVkdN5bx0PI0tQp6FBAZ3nIsijmaES3OYJh0nLBwumP"}]},"maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backwood_1.0.6_1517964900645_0.0693416643493554"},"_hasShrinkwrap":false},"1.0.7":{"name":"@backwood/backwood","homepage":"https://github.com/marcus-sa/backwood","version":"1.0.7","description":"Feathers provider for Adonis","main":"index.js","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"dependencies":{"lodash":"*","@adonisjs/fold":"*","@feathersjs/feathers":"*","pascal-case":"*"},"author":{"name":"Marcus S. Abildskov"},"license":"MIT","bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"_id":"@backwood/backwood@1.0.7","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"},"dist":{"integrity":"sha512-C01xhmgEjDAMDm2yvOVkO+4z3cREHDi4zhTwJg8K9DT1/0UnQy2KLeS9kH+AfICJVhbZu2cSLZm+gw7t2BFM6Q==","shasum":"08136f8e211b99a3c3e3a030e1cadbc9c805386f","tarball":"https://registry.npmjs.org/@backwood/backwood/-/backwood-1.0.7.tgz","fileCount":7,"unpackedSize":11967,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFyzbTX7lR9CjRq5tAqqpbM9RFv1hhMK39Jtp1l62sxOAiBKV3lHhugpKnxjPj0V2u2uOdxzZEKIAP5hZTC3tMS9Qw=="}]},"maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backwood_1.0.7_1518085570436_0.6465277701009458"},"_hasShrinkwrap":false},"1.0.8":{"name":"@backwood/backwood","homepage":"https://github.com/marcus-sa/backwood","version":"1.0.8","description":"Feathers provider for Adonis","main":"index.js","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"dependencies":{"lodash":"*","@adonisjs/fold":"*","@feathersjs/feathers":"*","pascal-case":"*"},"author":{"name":"Marcus S. Abildskov"},"license":"MIT","bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"_id":"@backwood/backwood@1.0.8","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"},"dist":{"integrity":"sha512-t4wHzRv7KVcpjChwtGrPliguxVk2OrB3FnEYadsuSmY+emsLvjbqD+efBN/0Jvp3cGfPS11dW+QEOf6wdtEUFw==","shasum":"a061cc2f2777399cbb54cd5974cf6db62f816315","tarball":"https://registry.npmjs.org/@backwood/backwood/-/backwood-1.0.8.tgz","fileCount":7,"unpackedSize":12024,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDoc6wfo9ia2nrlCwZCiSxqd7kBCg2oyLdh03wfkwL17AIhAPL/H6yMs5o328eLRCPoOMytDInYG5jzRCRjAbI2d17C"}]},"maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backwood_1.0.8_1518085725290_0.40995923361154896"},"_hasShrinkwrap":false},"1.0.9":{"name":"@backwood/backwood","homepage":"https://github.com/marcus-sa/backwood","version":"1.0.9","description":"Feathers provider for Adonis","main":"index.js","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"dependencies":{"lodash":"*","@adonisjs/fold":"*","@feathersjs/feathers":"*","pascal-case":"*"},"author":{"name":"Marcus S. Abildskov"},"license":"MIT","bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"_id":"@backwood/backwood@1.0.9","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"},"dist":{"integrity":"sha512-rqO0QVUGQpbWvOKJ1uBPo7opc78b80NrZWZ4TUXEMp876PGgwWiL3aAgZSPMdgAYt5Ab8wE8OgXSKOLZLlMO6g==","shasum":"84813d9488541c2cad58f21b744b63a05a371942","tarball":"https://registry.npmjs.org/@backwood/backwood/-/backwood-1.0.9.tgz","fileCount":7,"unpackedSize":11851,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJxwHTcG9FdGK+jTb7zlYGflKwSCSbA4cFY+oSB2WaaAiA2jIAftWb7yWf0p6Y9cOBDkZ/aI3ID+8sjGrJqRtzeJA=="}]},"maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backwood_1.0.9_1518085798994_0.9859276942443402"},"_hasShrinkwrap":false},"1.0.10":{"name":"@backwood/backwood","homepage":"https://github.com/marcus-sa/backwood","version":"1.0.10","description":"Feathers provider for Adonis","main":"index.js","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"dependencies":{"validator":"*","lodash":"*","@adonisjs/fold":"*","@feathersjs/feathers":"*","pascal-case":"*"},"author":{"name":"Marcus S. Abildskov"},"license":"MIT","bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"_id":"@backwood/backwood@1.0.10","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"},"dist":{"integrity":"sha512-mSyTJ4fYZaN3UqLO2/nrxbyMZr2bfmvJBCo7eG/XtEO57plwA09Q303MZ4zjf9XUjUPR1m5V4+PayRma7Jq+aw==","shasum":"14102917fa33e1a2b21299b4f0a25ce4cf9449ae","tarball":"https://registry.npmjs.org/@backwood/backwood/-/backwood-1.0.10.tgz","fileCount":7,"unpackedSize":11819,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICItVETOMHJ6tA23CRwWg7RIaU+p36NZv2NpogW8XRULAiA0kvhWiEF4XR94eeJ/3/dUCYTdYzsPWMPk3AJgO342gw=="}]},"maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backwood_1.0.10_1518085931887_0.7950927520791644"},"_hasShrinkwrap":false},"1.0.11":{"name":"@backwood/backwood","homepage":"https://github.com/marcus-sa/backwood","version":"1.0.11","description":"Feathers provider for Adonis","main":"index.js","private":false,"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"dependencies":{"validator":"*","lodash":"*","@adonisjs/fold":"*","@feathersjs/feathers":"*","pascal-case":"*"},"author":{"name":"Marcus S. Abildskov"},"license":"MIT","bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"_id":"@backwood/backwood@1.0.11","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"},"dist":{"integrity":"sha512-iuwKhq0jqHMhuz6HFe0Cvne7XYpx9MQXFjmaraUBZdXZ7auGK7D3owz/pqEP+2Ci5/jRDIfdanPwPSntTHqkQA==","shasum":"dd02418c079fb79bd14ae39d0d06fe7843dcf00f","tarball":"https://registry.npmjs.org/@backwood/backwood/-/backwood-1.0.11.tgz","fileCount":7,"unpackedSize":9268,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIiF/+NfNzZDEzPU9yV1Ycd+Fhp0bdiwep5UNN7G7fogIgE1H5jwwS0447ExSGYjarZzZka9UdJ1QCfb4kOhaOHAk="}]},"maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/backwood_1.0.11_1518166178147_0.9300198404680096"},"_hasShrinkwrap":false}},"readme":"# Backwood Feathers\r\nBackwood Feathers is a [Service Provider](https://adonisjs.com/docs/4.0/service-providers) for [AdonisJS](https://github.com/adonisjs/adonis-framework)\r\nfor people that enjoy FeathersJS but can't stand its way of file and coding structuring.\r\n\r\n**Full docs will come soon**\r\n\r\n## Packages\r\n  * [@backwood/backwood](https://github.com/marcus-sa/backwood/tree/master/src/Feathers)\r\n  * [@backwood/rest](https://github.com/marcus-sa/backwood/tree/master/src/Feathers/Rest)\r\n  * [@backwood/sequelize](https://github.com/marcus-sa/backwood/tree/master/src/Feathers/Sequelize)\r\n\r\n## Installation\r\n```bash\r\nnpm install --save @backwood/backwood\r\n```\r\n\r\n## Usage\r\nOkay, start off by creating a new Adonis Project using the CLI:\r\n\r\n```bash\r\nadonis new blog\r\n```\r\n\r\nnow navigate to the `server.js` file in your root directory and replace `.fireHttpServer()` with `.fire()` like so:\r\n\r\n> server.js\r\n```\r\n'use strict'\r\n\r\nconst { Ignitor } = require('@adonisjs/ignitor')\r\n\r\nnew Ignitor(require('@adonisjs/fold'))\r\n  .appRoot(__dirname)\r\n  .fire() // <--\r\n  .catch(console.error)\r\n\r\n```\r\n\r\nthen it's also recommended to remove most of the providers, as Feathers will be handling everything else.\r\n\r\n> start/app.js\r\n```js\r\nconst providers = [\r\n    '@adonisjs/framework/providers/AppProvider',\r\n    '@backwood/backwood'\r\n]\r\n```\r\n\r\n### Backwood Feathers\r\nCreate a mandatory file called `feathers.js` in the `start` directory.\r\n\r\n> start/feathers.js\r\n```js\r\n'use strict'\r\n\r\nconst Feathers = use('Feathers')\r\n\r\nFeathers\r\n  .service('message', 'MessageService')\r\n```\r\n\r\n> app/Services/MessageService\r\n```js\r\n'use strict'\r\n\r\nconst Service = use('Service')\r\nconst Messages = use('Models/Messages')\r\n\r\nclass MessageService extends Service {\r\n\r\n  /**\r\n   * Assign hooks to a service\r\n   *\r\n   * @property hooks\r\n   * @return {Object}\r\n   */\r\n  static get hooks() {\r\n    return {\r\n      before: {\r\n        get: (ctx) => {\r\n          // Define get hook\r\n        }\r\n      }\r\n    }\r\n  }\r\n\r\n  get(id, params) {\r\n    return Messages.findById(id)\r\n  }\r\n\r\n}\r\n\r\nmodule.exports = MessageService\r\n```\r\n","maintainers":[{"name":"marcus-sa","email":"esetmarcussharkgamingcomputer@gmail.com"}],"time":{"modified":"2022-04-04T17:29:31.340Z","created":"2018-02-03T21:46:06.061Z","1.0.2":"2018-02-03T21:46:06.061Z","1.0.3":"2018-02-03T22:25:59.762Z","1.0.4":"2018-02-05T10:20:32.343Z","1.0.5":"2018-02-06T22:57:59.739Z","1.0.6":"2018-02-07T00:55:01.331Z","1.0.7":"2018-02-08T10:26:11.076Z","1.0.8":"2018-02-08T10:28:45.953Z","1.0.9":"2018-02-08T10:29:59.644Z","1.0.10":"2018-02-08T10:32:12.575Z","1.0.11":"2018-02-09T08:49:38.790Z"},"homepage":"https://github.com/marcus-sa/backwood","repository":{"type":"git","url":"git+https://github.com/marcus-sa/backwood.git"},"author":{"name":"Marcus S. Abildskov"},"bugs":{"url":"https://github.com/marcus-sa/backwood/issues"},"license":"MIT","readmeFilename":"README.md"}