Socket
Book a DemoInstallSign in
Socket

shin-gimel

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shin-gimel

API gateway based on node

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Shin Gimel

Shin Gimel is an API gateway based on nodejs and redis.

Note: This project is still in POC state.

How does it works?

Preety simple just include the module like

const shinGimel = require('shin-gimel')

And then then run it with the right config dirctory

const gateway = shinGimel(`${__dirname}/config`)

The config folder should contain this folder strcture

config
 |-config.json (General settings for Gateway)
 |-endpoints (Will contain json or js files for each endpoint)
    |-base.json (Not requierd, will be used as base for the other endpoints)
    |-api1-name.json (One for each endpoint)
    |-api2-name.js (Or .js file that exports hash)

Run the example

In order to run the example use the commend

npm run run-example

FAQs

Package last updated on 16 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts