All Projects → MostlyJS → mostly-feathers

MostlyJS / mostly-feathers

Licence: MIT license
Convert your Feathers APIs into microservices

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to mostly-feathers

feathers-next-example
Use feathers with next.js
Stars: ✭ 41 (+57.69%)
Mutual labels:  feathers
feathers-example-fileupload
A feathers file upload example, using feathers-blob.
Stars: ✭ 58 (+123.08%)
Mutual labels:  feathers
mostly-node
Mostly simple way to microservices in Node.js
Stars: ✭ 18 (-30.77%)
Mutual labels:  feathers
feathers-versionate
Create and work with nested services.
Stars: ✭ 29 (+11.54%)
Mutual labels:  feathers
moleculer-adapter-feathers
Moleculer service mixin wrapping Feathers.js services
Stars: ✭ 17 (-34.62%)
Mutual labels:  feathers
feathers-vuex-todomvc
Feathers-vuex TodoMVC demo
Stars: ✭ 29 (+11.54%)
Mutual labels:  feathers
feathers-solr
Feathersjs Solr Client
Stars: ✭ 29 (+11.54%)
Mutual labels:  feathers
flutter feathersjs.dart
Communicate with your feathers js server from flutter app with unbelieved ease and make happy your customers.
Stars: ✭ 19 (-26.92%)
Mutual labels:  feathers
Feathers
A framework for real-time applications and REST APIs with JavaScript and TypeScript
Stars: ✭ 13,761 (+52826.92%)
Mutual labels:  feathers
Moonshine-IDE
Moonshine is a free and open source middleweight IDE built with ActionScript 3 for ActionScript 3, Apache Flex®, Apache Royale™, and Feathers development, with Cloud and Desktop support.
Stars: ✭ 86 (+230.77%)
Mutual labels:  feathers
FlipED
A LMS built specifically for Thailand's Education 4.0 system.
Stars: ✭ 24 (-7.69%)
Mutual labels:  feathers
feathers-swift
FeathersJS Swift SDK, written with love.
Stars: ✭ 51 (+96.15%)
Mutual labels:  feathers

MostlyJS with Feathers

Build Status

This module provides quick ways to create MostlyJS microservices with Feathers.

Documentation

Please see the documentation site.

Usage

Installation

npm install mostly-feathers --save

Quick Example

Convert your Feathers APIs into microservices is easy enough.

Your existing Feathers code

// service.js
const memory = require('feathers-memory');

module.exports = function() {
  const app = this;

  // initialize service
  const service = new memory();
  app.use('dummies', service);
}

Wrapping it as standalone server

const nats = require('nats');
const mostly = require('mostly-node');
const feathers = require('mostly-feathers');
const service = require('./service');

const trans = new mostly(nats.connect());
trans.ready(() => {
  var app = feathers(trans)
    .configure(service);
});

That's all, the service will register itself with NATS and can be called remotely.

RESTful Gateway

To expose the service as RESTful api, you need only setup a simple express gateway server using mostly-feathers-rest

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].