1.0.0-beta.1 • Published 3 years ago
@mrapi/gateway v1.0.0-beta.1
@mrapi/gateway
API gateway for node.js.
Usage
yarn add @mrapi/gateway
import { Gateway } from '@mrapi/gateway'
const gateway = new Gateway({
app: {},
services: [
// add service here
{
name: 'service',
url: 'http://0.0.0.0:3000',
},
],
})
gateway.start().catch((err) => gateway.logger.error(err))