{"id":19490446,"url":"https://github.com/mostlyjs/mostly-feathers","last_synced_at":"2025-04-25T19:31:53.558Z","repository":{"id":52101995,"uuid":"89939443","full_name":"MostlyJS/mostly-feathers","owner":"MostlyJS","description":"Convert your Feathers APIs into microservices","archived":false,"fork":false,"pushed_at":"2022-11-01T21:05:49.000Z","size":214,"stargazers_count":27,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T17:08:50.040Z","etag":null,"topics":["feathers","microservice"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MostlyJS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-01T16:09:13.000Z","updated_at":"2022-08-07T13:32:51.000Z","dependencies_parsed_at":"2022-09-04T17:20:44.613Z","dependency_job_id":null,"html_url":"https://github.com/MostlyJS/mostly-feathers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostlyJS%2Fmostly-feathers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostlyJS%2Fmostly-feathers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostlyJS%2Fmostly-feathers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostlyJS%2Fmostly-feathers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MostlyJS","download_url":"https://codeload.github.com/MostlyJS/mostly-feathers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250882637,"owners_count":21502341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["feathers","microservice"],"created_at":"2024-11-10T21:13:02.195Z","updated_at":"2025-04-25T19:31:53.254Z","avatar_url":"https://github.com/MostlyJS.png","language":"JavaScript","readme":"MostlyJS with Feathers\n======================\n\n[![Build Status](https://travis-ci.org/mostlyjs/mostly-feathers.svg)](https://travis-ci.org/mostlyjs/mostly-feathers)\n\nThis module provides quick ways to create [MostlyJS](https://github.com/MostlyJS/mostly-node) microservices with [Feathers](https://feathersjs.com/).\n\n# Documentation\n\nPlease see the [documentation site](https://mostlyjs.github.io).\n\n# Usage\n\n## Installation\n\n```bash\nnpm install mostly-feathers --save\n```\n\n## Quick Example\n\nConvert your Feathers APIs into microservices is easy enough.\n\nYour existing Feathers code\n```javascript\n// service.js\nconst memory = require('feathers-memory');\n\nmodule.exports = function() {\n  const app = this;\n\n  // initialize service\n  const service = new memory();\n  app.use('dummies', service);\n}\n```\n\nWrapping it as standalone server\n```javascript\nconst nats = require('nats');\nconst mostly = require('mostly-node');\nconst feathers = require('mostly-feathers');\nconst service = require('./service');\n\nconst trans = new mostly(nats.connect());\ntrans.ready(() =\u003e {\n  var app = feathers(trans)\n    .configure(service);\n});\n```\n\nThat's all, the service will register itself with NATS and can be called remotely.\n\n## RESTful Gateway\n\nTo expose the service as RESTful api, you need only setup a simple express gateway server using [mostly-feathers-rest](https://github.com/MostlyJS/mostly-feathers-rest)\n\n# License\n\nMIT","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostlyjs%2Fmostly-feathers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmostlyjs%2Fmostly-feathers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostlyjs%2Fmostly-feathers/lists"}