{"_id":"moya","_rev":"65-b7c5b4f424fb25e2080077811fe767b5","name":"moya","description":"A platform for developing lean, componential and highly scalable RESTful Hypermedia APIs","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.0":{"name":"moya","version":"0.0.0","description":"A platform for developing lean, componential and highly scalable RESTful Hypermedia APIs","main":"lib/index.js","author":{"name":"Mark Bonano"},"dependencies":{"restify":"~2.5.1","nconf":"~0.6.7"},"devDependencies":{"grunt":"~0.4.1","mocha":"~1.10.0","grunt-simple-mocha":"~0.4.0","chai":"~1.6.1","grunt-contrib-clean":"~0.4.1","grunt-contrib-copy":"~0.4.1"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/mbonano/moya.git"},"license":"MIT","readme":"# Moya\n\n### A platform built on node.js for developing lean, componential and highly scalable RESTful Hypermedia APIs","_id":"moya@0.0.0","dist":{"shasum":"73de18c0fdf205f1999e262e3aac4de1cf0ed5b7","tarball":"https://registry.npmjs.org/moya/-/moya-0.0.0.tgz","integrity":"sha512-scFacIL1uf0/54RfmpG4OntOyX/xmnl6j4srh1KoKy2+ilqAa/FLnsOGFAtiYpcslmQcfGNF8vECaR4fxZNmaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG1T4WNxWoQmD+kA9wXxXP0zDJPEvX2dD/8KcmiZEDKrAiB8AJ5SuxXRSzAqVNDZiYKbCFYmrRiyD5S35CKm1QYhpw=="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"mbonano","email":"mbonano@smartpathlabs.com"},"maintainers":[{"name":"mbonano","email":"mbonano@smartpathlabs.com"}],"directories":{}},"0.0.1":{"name":"moya","version":"0.0.1","description":"A platform for developing lean, componential and highly scalable RESTful Hypermedia APIs","main":"lib/index.js","author":{"name":"Mark Bonano"},"dependencies":{"restify":"~2.5.1","nconf":"~0.6.7"},"devDependencies":{"grunt":"~0.4.1","mocha":"~1.10.0","grunt-simple-mocha":"~0.4.0","chai":"~1.6.1","grunt-contrib-clean":"~0.4.1","grunt-contrib-copy":"~0.4.1"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/mbonano/moya.git"},"license":"MIT","readme":"# Moya\n\n### A platform built on node.js for developing lean, componential and highly scalable RESTful Hypermedia APIs","_id":"moya@0.0.1","dist":{"shasum":"0d3fbe6ea95d381576adb54e7bdb42aeceeb32a5","tarball":"https://registry.npmjs.org/moya/-/moya-0.0.1.tgz","integrity":"sha512-CQi6dMgfE9MYMxWLH6XfYHiBKiqAA6onl6XxRWYpevoYvZYtEMEe89ct/0Ic+LVG1BZUB5BCstfZ7u3iBrqAxg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZKpL6jHqRozHoXPhS52D7KWnwEcPKKFexFeqYL6grGwIgWKu2XflVjaRjmLZg2es5enQaygoxlOe5mlPjgmja4Fo="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"mbonano","email":"mbonano@smartpathlabs.com"},"maintainers":[{"name":"mbonano","email":"mbonano@smartpathlabs.com"}],"directories":{}},"0.0.2":{"name":"moya","version":"0.0.2","description":"A platform for developing lean, componential and highly scalable RESTful Hypermedia APIs","main":"lib/index.js","author":{"name":"Mark Bonano"},"dependencies":{"restify":"~2.5.1","nconf":"~0.6.7"},"devDependencies":{"grunt":"~0.4.1","mocha":"~1.10.0","grunt-simple-mocha":"~0.4.0","chai":"~1.6.1","grunt-contrib-clean":"~0.4.1","grunt-contrib-copy":"~0.4.1"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/mbonano/moya.git"},"license":"MIT","readme":"# Moya\n\n### A platform built on node.js for developing lean, componential and highly scalable RESTful Hypermedia APIs","_id":"moya@0.0.2","dist":{"shasum":"f92173dacf7bb8d2325eae48ffb25e8d218663d0","tarball":"https://registry.npmjs.org/moya/-/moya-0.0.2.tgz","integrity":"sha512-Nwnkm4MCyApjAQkK6IDTlIO8/CleiBkQ6ij+Jy05dy8aIzK7tPUd2waRv86wSvZrsJyJSBK0AyYW9oq5t+6/Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDrP7ckC613gUu/ir91PpFhxm7PNUjeS2OgViB8Js58sAiEAq/Z4RNmpXGRstDfLjOn9R2xShc8RlQ+rME3CQ3y/qNE="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"mbonano","email":"mbonano@smartpathlabs.com"},"maintainers":[{"name":"mbonano","email":"mbonano@smartpathlabs.com"}],"directories":{}},"0.0.3":{"name":"moya","version":"0.0.3","description":"A platform for developing lean, componential and highly scalable RESTful Hypermedia APIs","main":"lib/index.js","author":{"name":"Mark Bonano"},"dependencies":{"restify":"~2.5.1","nconf":"~0.6.7"},"devDependencies":{"grunt":"~0.4.1","mocha":"~1.10.0","grunt-simple-mocha":"~0.4.0","chai":"~1.6.1","grunt-contrib-clean":"~0.4.1","grunt-contrib-copy":"~0.4.1"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/mbonano/moya.git"},"license":"MIT","readme":"# Moya\n\n### A platform built on node.js for developing lean, componential and highly scalable RESTful Hypermedia APIs","_id":"moya@0.0.3","dist":{"shasum":"bb3fc8cac0502dae09ab0213e7ffa34c9f717da8","tarball":"https://registry.npmjs.org/moya/-/moya-0.0.3.tgz","integrity":"sha512-lnZK5i+0dqnyGPyWOV0AEl0DKDyOuYL4ofhncbxg2mjMG3VQThLLXZ3oB5Q68dlZivZjvN12RYeFUfX+C99+fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGIvKMrb61sJF1hnTXaf/5NU68FRB9vcI/wlO8BBKfWnAiBO8DRdrETk+W5HGszZtpWkm+2av3X6HV5aWkju8XaLvw=="}]},"_npmVersion":"1.1.62","_npmUser":{"name":"mbonano","email":"mbonano@smartpathlabs.com"},"maintainers":[{"name":"mbonano","email":"mbonano@smartpathlabs.com"}],"directories":{}},"0.0.4":{"name":"moya","version":"0.0.4","description":"A platform for developing lean, componential and highly scalable RESTful Hypermedia APIs","main":"lib/index.js","author":{"name":"Mark Bonano"},"dependencies":{"restify":"~2.5.1","nconf":"~0.6.7"},"devDependencies":{"grunt":"~0.4.1","mocha":"~1.10.0","grunt-simple-mocha":"~0.4.0","chai":"~1.6.1","grunt-contrib-clean":"~0.4.1","grunt-contrib-copy":"~0.4.1"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/mbonano/moya.git"},"license":"MIT","readme":"# Moya\n\n### A platform built on node.js for developing lean, componential and highly scalable RESTful Hypermedia APIs\n\n## Overview\n\nMoya is comprised of a variety of technologies that, together, address many major development concerns:\n\n* [nconf](https://github.com/flatiron/nconf) - Configuration Management\n* [restify](http://mcavage.github.io/node-restify/) - A RESTful API development module\n\n## Examples\n\nMoya was developed to manage the core dependencies required to develop RESTful Hypermedia APIs. Because of this, moya\nmakes if very easy to immediately begin developing your endpoints. Here's an example:\n\n```javascript\nvar moya = require('moya');\nvar nconf = moya.nconf;\n\nvar server = moya.createServer({\n    name: 'moya-application'\n});\n\nserver.get('/', function(req, res, next) {\n    var entryPointResponse = {\n        version : \"0.0.0\",\n\n        _links : {\n            self: { href: \"/\" },\n            patients: { href: \"/patients\" }\n        },\n\n        name : \"my api entry point\"\n    };\n    res.send(entryPointResponse);\n    return next();\n});\n\nserver.listen(nconf.get('http:port'), '0.0.0.0', function() {\n    console.log('%s listening on %s', server.name, server.url);\n});\n```\n\nYou would run the code above (assuming it was saved in a file called index.js) as follows:\n\n```shell\nnode index.js\n```\n\nNote that the server is initiated to listen on a port that is being read externally:\n\n```javascript\nserver.listen(nconf.get('http:port'), ...\n```\n\nMoya is preconfigured to support external config files. Make a new file called app.conf.json with the following contents:\n\n```json\n{\n    \"http\": {\n        \"port\": 8090\n    }\n}\n```\n\nYou can now pass your configuration files as command line arguments when starting your node application. This is\ncustomarily an essential step when configuring continuous integration:\n\n```shell\nnode index.js --conf=app.conf.json\n```\n\nYou application will now run on port 8090, as specified in the app.conf.json file supplied at the command line","readmeFilename":"README.md","bugs":{"url":"https://github.com/mbonano/moya/issues"},"_id":"moya@0.0.4","dist":{"shasum":"9635345800e7c832186d906363bde56c41d902ed","tarball":"https://registry.npmjs.org/moya/-/moya-0.0.4.tgz","integrity":"sha512-6jo2d/A1JKA0N31G6fBJ8wUXMnIhaQDya2tuLSB7Y/0v5mC6yyIVQLpu48fEbhfnYWfr4l69Bz7+C+vA+FjJYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/fBZUCvvU1FhooJ/OmKfzzc5tAuVGANX8x3LSJ0zdyAiBY915xbWFwClhptUY/DVZeii12g5kMEfp8n77KfCIKSg=="}]},"_from":"./","_npmVersion":"1.3.0","_npmUser":{"name":"mbonano","email":"mbonano@smartpathlabs.com"},"maintainers":[{"name":"mbonano","email":"mbonano@smartpathlabs.com"}],"directories":{}},"0.0.5":{"name":"moya","version":"0.0.5","description":"A platform for developing lean, componential and highly scalable RESTful Hypermedia APIs","main":"lib/index.js","author":{"name":"Mark Bonano"},"dependencies":{"restify":"~2.5.1","nconf":"~0.6.7"},"devDependencies":{"grunt":"~0.4.1","mocha":"~1.10.0","grunt-simple-mocha":"~0.4.0","chai":"~1.6.1","grunt-contrib-clean":"~0.4.1","grunt-contrib-copy":"~0.4.1","grunt-contrib-watch":"~0.4.4","grunt-contrib-jshint":"~0.6.0","sinon":"~1.7.3"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/mbonano/moya.git"},"license":"MIT","readme":"# Moya\n\n### A platform built on node.js for developing lean, componential and highly scalable RESTful Hypermedia APIs\n\n## Overview\n\nMoya is comprised of a variety of technologies that, together, address many major development concerns:\n\n* [nconf](https://github.com/flatiron/nconf) - Configuration Management\n* [restify](http://mcavage.github.io/node-restify/) - A RESTful API development module\n\n## Examples\n\nMoya was developed to manage the core dependencies required to develop RESTful Hypermedia APIs. Because of this, moya\nmakes if very easy to immediately begin developing your endpoints. Here's an example:\n\n```javascript\nvar moya = require('moya');\nvar nconf = moya.nconf;\n\nvar server = moya.createServer({\n    name: 'moya-application'\n});\n\nserver.get('/', function(req, res, next) {\n    var entryPointResponse = {\n        version : \"0.0.0\",\n\n        _links : {\n            self: { href: \"/\" },\n            orders: { href: \"/orders\" }\n        },\n\n        name : \"my api entry point\"\n    };\n    res.send(entryPointResponse);\n    return next();\n});\n\nserver.listen(nconf.get('http:port'), '0.0.0.0', function() {\n    console.log('%s listening on %s', server.name, server.url);\n});\n```\n\nYou would run the code above (assuming it was saved in a file called index.js) as follows:\n\n```shell\nnode index.js\n```\n\nNote that the server is initiated to listen on a port that is being read externally:\n\n```javascript\nserver.listen(nconf.get('http:port'), ...\n```\n\nMoya is preconfigured to support external config files. Make a new file called app.conf.json with the following contents:\n\n```json\n{\n    \"http\": {\n        \"port\": 8090\n    }\n}\n```\n\nYou can now pass your configuration files as command line arguments when starting your node application. This is\ncustomarily an essential step when configuring continuous integration:\n\n```shell\nnode index.js --conf=app.conf.json\n```\n\nYou application will now run on port 8090, as specified in the app.conf.json file supplied at the command line","readmeFilename":"README.md","bugs":{"url":"https://github.com/mbonano/moya/issues"},"_id":"moya@0.0.5","dist":{"shasum":"479556cbcf934a24f7e6969d40f40c6b410eb84c","tarball":"https://registry.npmjs.org/moya/-/moya-0.0.5.tgz","integrity":"sha512-nJjr0HXpT/qgHOk8xd6cqCJwtzbQ9bNUfnf2Q+FW9Kmg/7H6GgbNIW1pAaWU+rnnOz9TyTouaKhOG9+ckQ+s8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCR/Xbandl53idTcsp9so2+gwDN7RrAN8deBQApA1jl8gIgBngW8UBgeq8YXgM2qgWOr1iIS5BlJP8yIuub9LkH3h0="}]},"_from":"./","_npmVersion":"1.3.0","_npmUser":{"name":"mbonano","email":"mbonano@smartpathlabs.com"},"maintainers":[{"name":"mbonano","email":"mbonano@smartpathlabs.com"}],"directories":{}},"0.0.6":{"name":"moya","version":"0.0.6","description":"A platform for developing lean, componential and highly scalable RESTful Hypermedia APIs","main":"lib/index.js","author":{"name":"Mark Bonano"},"dependencies":{"restify":"~2.5.1","nconf":"~0.6.7"},"devDependencies":{"grunt":"~0.4.1","mocha":"~1.10.0","grunt-simple-mocha":"~0.4.0","chai":"~1.6.1","grunt-contrib-clean":"~0.4.1","grunt-contrib-copy":"~0.4.1","grunt-contrib-watch":"~0.4.4","grunt-contrib-jshint":"~0.6.0","sinon":"~1.7.3"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/mbonano/moya.git"},"license":"MIT","readme":"# Moya\n\n### A platform built on node.js for developing lean, componential and highly scalable RESTful Hypermedia APIs\n\n## Overview\n\nMoya is comprised of a variety of technologies that, together, address many major development concerns:\n\n* [nconf](https://github.com/flatiron/nconf) - Configuration Management\n* [restify](http://mcavage.github.io/node-restify/) - A RESTful API development module\n\n## Examples\n\nMoya was developed to manage the core dependencies required to develop RESTful Hypermedia APIs. Because of this, moya\nmakes if very easy to immediately begin developing your endpoints. Here's an example:\n\n```javascript\nvar moya = require('moya');\nvar nconf = moya.nconf;\n\nvar server = moya.createServer({\n    name: 'moya-application'\n});\n\nserver.get('/', function(req, res, next) {\n    var entryPointResponse = {\n        version : \"0.0.0\",\n\n        _links : {\n            self: { href: \"/\" },\n            orders: { href: \"/orders\" }\n        },\n\n        name : \"my api entry point\"\n    };\n    res.send(entryPointResponse);\n    return next();\n});\n\nserver.listen(nconf.get('http:port'), '0.0.0.0', function() {\n    console.log('%s listening on %s', server.name, server.url);\n});\n```\n\nYou would run the code above (assuming it was saved in a file called index.js) as follows:\n\n```shell\nnode index.js\n```\n\nNote that the server is initiated to listen on a port that is being read externally:\n\n```javascript\nserver.listen(nconf.get('http:port'), ...\n```\n\nMoya is preconfigured to support external config files. Make a new file called app.conf.json with the following contents:\n\n```json\n{\n    \"http\": {\n        \"port\": 8090\n    }\n}\n```\n\nYou can now pass your configuration files as command line arguments when starting your node application. This is\ncustomarily an essential step when configuring continuous integration:\n\n```shell\nnode index.js --conf=app.conf.json\n```\n\nYou application will now run on port 8090, as specified in the app.conf.json file supplied at the command line","readmeFilename":"README.md","bugs":{"url":"https://github.com/mbonano/moya/issues"},"_id":"moya@0.0.6","dist":{"shasum":"5d860fbc494456765398e1ef53230cdc2f3ddc37","tarball":"https://registry.npmjs.org/moya/-/moya-0.0.6.tgz","integrity":"sha512-Dc1obMdh/NP1+T/xr3AOUV2+OC+UB9s6XTLNtTXGzJGtLY0Sa3lTbknSuD9bfg/rEE+A7bwYmS1g5vxr0s7oEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHd8r9GrD6xIYnIuNhQ509dIgUajXrg29wKyQO8qjOCJAiA3lYy3gi4eLK/tqr2giU7Ysiub1gAloEUWvt+UYdtl3A=="}]},"_from":"./","_npmVersion":"1.3.0","_npmUser":{"name":"mbonano","email":"mbonano@smartpathlabs.com"},"maintainers":[{"name":"mbonano","email":"mbonano@smartpathlabs.com"}],"directories":{}},"0.0.7":{"name":"moya","version":"0.0.7","description":"A platform for developing lean, componential and highly scalable RESTful Hypermedia APIs","main":"lib/index.js","author":{"name":"Mark Bonano"},"dependencies":{"restify":"~2.5.1","nconf":"~0.6.7"},"devDependencies":{"grunt":"~0.4.1","mocha":"~1.10.0","grunt-simple-mocha":"~0.4.0","chai":"~1.6.1","grunt-contrib-clean":"~0.4.1","grunt-contrib-copy":"~0.4.1","grunt-contrib-watch":"~0.4.4","grunt-contrib-jshint":"~0.6.0","sinon":"~1.7.3"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/mbonano/moya.git"},"license":"MIT","readme":"# Moya\n\n### A platform built on node.js for developing lean, componential and highly scalable RESTful Hypermedia APIs\n\n## Overview\n\nMoya is comprised of a variety of technologies that, together, address many major development concerns:\n\n* [nconf](https://github.com/flatiron/nconf) - Configuration Management\n* [restify](http://mcavage.github.io/node-restify/) - A RESTful API development module\n\n## Examples\n\nMoya was developed to manage the core dependencies required to develop RESTful Hypermedia APIs. Because of this, moya\nmakes if very easy to immediately begin developing your endpoints. Here's an example:\n\n```javascript\nvar moya = require('moya');\nvar nconf = moya.nconf;\n\nvar server = moya.createServer({\n    name: 'moya-application'\n});\n\nserver.get('/', function(req, res, next) {\n    var entryPointResponse = {\n        version : \"0.0.0\",\n\n        _links : {\n            self: { href: \"/\" },\n            orders: { href: \"/orders\" }\n        },\n\n        name : \"my api entry point\"\n    };\n    res.send(entryPointResponse);\n    return next();\n});\n\nserver.listen(nconf.get('http:port'), '0.0.0.0', function() {\n    console.log('%s listening on %s', server.name, server.url);\n});\n```\n\nYou would run the code above (assuming it was saved in a file called index.js) as follows:\n\n```shell\nnode index.js\n```\n\nNote that the server is initiated to listen on a port that is being read externally:\n\n```javascript\nserver.listen(nconf.get('http:port'), ...\n```\n\nMoya is preconfigured to support external config files. Make a new file called app.conf.json with the following contents:\n\n```json\n{\n    \"http\": {\n        \"port\": 8090\n    }\n}\n```\n\nYou can now pass your configuration files as command line arguments when starting your node application. This is\ncustomarily an essential step when configuring continuous integration:\n\n```shell\nnode index.js --conf=app.conf.json\n```\n\nYou application will now run on port 8090, as specified in the app.conf.json file supplied at the command line\n\n## Client SDK's\n\nVarious client sdk's are currently in development.\n\n* [JavaScript](https://github.com/mbonano/moya-javascript-sdk)","readmeFilename":"README.md","bugs":{"url":"https://github.com/mbonano/moya/issues"},"_id":"moya@0.0.7","dist":{"shasum":"75ce93ec8381bab6df8f6f8746fd9dcdd37cbfef","tarball":"https://registry.npmjs.org/moya/-/moya-0.0.7.tgz","integrity":"sha512-PMVuUkIAVW0iTjzc1+PEUKC6vqGrjDj8WehrEwSGv0QMk4CuRHf/gpbegwYpEW4LBGeLryUiL/yfGhDilaxC2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmsAMAOTzxTiKdWs0K+pHIu70XnjhO+8LnM6lgGxFJDgIhAI7olLhtqkmJpZdVWh9lkBL5JX7GuuKOxAYWGLq/IQc8"}]},"_from":"./","_npmVersion":"1.3.0","_npmUser":{"name":"mbonano","email":"mbonano@smartpathlabs.com"},"maintainers":[{"name":"mbonano","email":"mbonano@smartpathlabs.com"}]},"0.0.8":{"name":"moya","version":"0.0.8","description":"A platform for developing lean, componential and highly scalable RESTful Hypermedia APIs","main":"lib/index.js","author":{"name":"Mark Bonano"},"dependencies":{"restify":"~2.5.1","nconf":"~0.6.7"},"devDependencies":{"grunt":"~0.4.1","mocha":"~1.10.0","grunt-simple-mocha":"~0.4.0","chai":"~1.6.1","grunt-contrib-clean":"~0.4.1","grunt-contrib-copy":"~0.4.1","grunt-contrib-watch":"~0.4.4","grunt-contrib-jshint":"~0.6.0","sinon":"~1.7.3"},"scripts":{"test":"grunt test"},"repository":{"type":"git","url":"https://github.com/mbonano/moya.git"},"license":"MIT","readme":"# Moya\n\n### A platform built on node.js for developing lean, componential and highly scalable RESTful Hypermedia APIs\n\n## Overview\n\nMoya is comprised of a variety of technologies that, together, address many major development concerns:\n\n* [nconf](https://github.com/flatiron/nconf) - Configuration Management\n* [restify](http://mcavage.github.io/node-restify/) - A RESTful API development module\n\n## Examples\n\nMoya was developed to manage the core dependencies required to develop RESTful Hypermedia APIs. Because of this, moya\nmakes if very easy to immediately begin developing your endpoints. Here's an example:\n\n```javascript\nvar moya = require('moya');\nvar nconf = moya.nconf;\n\nvar server = moya.createServer({\n    name: 'moya-application'\n});\n\nserver.get('/', function(req, res, next) {\n    var entryPointResponse = {\n        version : \"0.0.0\",\n\n        _links : {\n            self: { href: \"/\" },\n            orders: { href: \"/orders\" }\n        },\n\n        name : \"my api entry point\"\n    };\n    res.send(entryPointResponse);\n    return next();\n});\n\nserver.listen(nconf.get('http:port'), '0.0.0.0', function() {\n    console.log('%s listening on %s', server.name, server.url);\n});\n```\n\nYou would run the code above (assuming it was saved in a file called index.js) as follows:\n\n```shell\nnode index.js\n```\n\nNote that the server is initiated to listen on a port that is being read externally:\n\n```javascript\nserver.listen(nconf.get('http:port'), ...\n```\n\nMoya is preconfigured to support external config files. Make a new file called app.conf.json with the following contents:\n\n```json\n{\n    \"http\": {\n        \"port\": 8090\n    }\n}\n```\n\nYou can now pass your configuration files as command line arguments when starting your node application. This is\ncustomarily an essential step when configuring continuous integration:\n\n```shell\nnode index.js --conf=app.conf.json\n```\n\nYou application will now run on port 8090, as specified in the app.conf.json file supplied at the command line\n\n## Client SDK's\n\nVarious client sdk's are currently in development.\n\n* [JavaScript](https://github.com/mbonano/moya-javascript-sdk)","readmeFilename":"README.md","bugs":{"url":"https://github.com/mbonano/moya/issues"},"_id":"moya@0.0.8","dist":{"shasum":"850476d1f30e789888f34af40bf34eb15c01d52c","tarball":"https://registry.npmjs.org/moya/-/moya-0.0.8.tgz","integrity":"sha512-b9zHBH2PJ1ZCD/mSv2B5j3CmLo7Wu0onx48jC6JgLkpxCeO944Nt3x9iqXs+QVJgwVBjEteJDba+wrS9xQYxgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyUtijop8UtA6uzS8QKHzFjovfEjwjDIwJ4ajRK2rm8QIgF8EwmTTzIwT97hHT6g8JyHoK+iUHDaxwxeP4BftzIKQ="}]},"_from":"./","_npmVersion":"1.3.0","_npmUser":{"name":"mbonano","email":"mbonano@smartpathlabs.com"},"maintainers":[{"name":"mbonano","email":"mbonano@smartpathlabs.com"}]}},"readme":"# Moya\n\n### A platform built on node.js for developing lean, componential and highly scalable RESTful Hypermedia APIs","maintainers":[{"name":"mbonano","email":"mbonano@smartpathlabs.com"}],"time":{"modified":"2022-06-20T10:38:52.241Z","created":"2013-06-22T22:47:21.523Z","0.0.0":"2013-06-22T22:47:22.505Z","0.0.1":"2013-06-23T02:15:51.206Z","0.0.2":"2013-06-23T02:38:59.898Z","0.0.3":"2013-06-23T03:01:46.990Z","0.0.4":"2013-06-23T14:26:20.407Z","0.0.5":"2013-06-24T02:02:14.248Z","0.0.6":"2013-07-04T11:03:06.220Z","0.0.7":"2013-07-07T11:38:44.480Z","0.0.8":"2013-08-09T18:07:43.847Z"},"author":{"name":"Mark Bonano"},"repository":{"type":"git","url":"https://github.com/mbonano/moya.git"}}