Skip to content
forked from zivost/teade

Microservices RPC framework using HTTP

License

Notifications You must be signed in to change notification settings

ammar08429/teade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Teade

node.js IPC(Inter Process Communication) package using RPC over HTTP.

Installation

Install using npm: (coming soon)

npm install teade

Usage

Require library

var teade = require('teade');

Server

var server = new teade.Server();

server.addService({
	'hello': func1,
	'hey': func2
});

server.bind(8080);
server.start();

Client

var client = new teade.Client('http://localhost', 8080);

var payload = {
  name: "John"
}

client.request('hello', payload, function(err, response) {
	if (err) {
		//handle error
	} else {
		//do something with the response
	}
})

Examples

(Coming Soon)

About

Microservices RPC framework using HTTP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%