All Projects → MostlyJS → mostly-node

MostlyJS / mostly-node

Licence: MIT license
Mostly simple way to microservices in Node.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to mostly-node

flutter feathersjs.dart
Communicate with your feathers js server from flutter app with unbelieved ease and make happy your customers.
Stars: ✭ 19 (+5.56%)
Mutual labels:  feathers
moleculer-adapter-feathers
Moleculer service mixin wrapping Feathers.js services
Stars: ✭ 17 (-5.56%)
Mutual labels:  feathers
fuso
一款体积小, 快速, 稳定, 高效, 轻量的内网穿透, 端口转发工具 支持多连接,级联代理,传输加密 (A small volume, fast, stable, efficient, and lightweight intranet penetration, port forwarding tool supports multiple connections, cascading proxy, and transmission encryption)
Stars: ✭ 1,132 (+6188.89%)
Mutual labels:  nat
feathers-solr
Feathersjs Solr Client
Stars: ✭ 29 (+61.11%)
Mutual labels:  feathers
edgevpn
⛵ The immutable, decentralized, statically built p2p VPN without any central server and automatic discovery! Create decentralized introspectable tunnels over p2p with shared tokens
Stars: ✭ 223 (+1138.89%)
Mutual labels:  nat
UniSpySDK
Updated and Cleaned GameSpy SDK
Stars: ✭ 31 (+72.22%)
Mutual labels:  nat
k8s-custom-iptables
How to add custom iptables rules to a Kubernetes cluster
Stars: ✭ 52 (+188.89%)
Mutual labels:  nat
nat-api
↔️ Fast port mapping with UPnP and NAT-PMP
Stars: ✭ 22 (+22.22%)
Mutual labels:  nat
feathers-vuex-todomvc
Feathers-vuex TodoMVC demo
Stars: ✭ 29 (+61.11%)
Mutual labels:  feathers
feathers-versionate
Create and work with nested services.
Stars: ✭ 29 (+61.11%)
Mutual labels:  feathers
GateWay
🥗OpenIoTHub Gateway for mobile(网关移动应用)
Stars: ✭ 25 (+38.89%)
Mutual labels:  nat
xt NAT
Full Cone NAT module for Linux iptables
Stars: ✭ 65 (+261.11%)
Mutual labels:  nat
gen-cisco
🧨 Generates Cisco scripts based on YAML files
Stars: ✭ 29 (+61.11%)
Mutual labels:  nat
cfn-cheapest-nat
Cheapest AWS VPC NAT.
Stars: ✭ 38 (+111.11%)
Mutual labels:  nat
ministun
A zero dependency STUN server
Stars: ✭ 26 (+44.44%)
Mutual labels:  nat
bridgeap
Automagically bridge any live interface to any idle interface using NATS, DHCP, and HostAP where applicable
Stars: ✭ 52 (+188.89%)
Mutual labels:  nat
tunman
Comprehensive solution for SSH tunnels - respawning, healthchecking/monitoring
Stars: ✭ 43 (+138.89%)
Mutual labels:  nat
souls
SOULs 🔥 Build Serverless Apps faster like Rails. Powered by Ruby GraphQL, RBS/Steep, Active Record, RSpec, RuboCop, and Google Cloud.
Stars: ✭ 327 (+1716.67%)
Mutual labels:  nat
qynat-spring-boot-starter
A springboot-starter that can achieve Intranet penetration. 一款可以实现内网穿透的springboot-starter。
Stars: ✭ 65 (+261.11%)
Mutual labels:  nat
ZeroHub
c# implementation aimed for nat traversal using OpenVPN tuntap driver
Stars: ✭ 15 (-16.67%)
Mutual labels:  nat

MostlyJS Microservice on Node.js

Build Status

MostlyJS is a toolkit to develop distributed microservices in a mostly simple way. It uses NATS as the internal communication system for both service discovery and load balancing. NATS is fast and reliable, and is able to handle millions of request per second.

MostlyJS is targeting breaking current Monolith API application into small services that running on the network transparent to you without knowing where the service physical located.

It provides well integration with existing node frameworks so that you can change a few code to convert your RESTfull api into microservices.

Integration with Koa and Hapi is also planned.

Documentation

Please see the documentation site.

Usage

Installation

1. Install Mostly-node and NATS driver

npm install nats --save
npm install mostly-node --save

2. Install and Run NATS Server

https://nats.io/documentation/tutorials/gnatsd-install

Quick Example

var mostly = require('mostly-node')()

// register the service
mostly.add({ topic: 'sample', cmd: 'math' }, function (msg, done) {
  var rate  = 0.13;
  var total = msg.foo * (1 + rate);
  done(null, { total: total });
});

// call the service
mostly.act({ topic: 'sample', cmd: 'math', foo: 100 }, function (err, result) {
  console.log(result.total);
});

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].