next-juggernaut

0.1.8 • Public • Published

Next Juggernaut

NJ Logo

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

Installation is done using the npm install command:

$ npm install next-juggernaut --save

Features

  • PERFORMANCE BY KEEPING IT LIGHT WEIGHT 1.5 TIMES FASTER THEN EXPRESS
  • SUPPORTS TEST-DRIVEN DEVELOPMENT
  • SWAGGER INBUILT
  • MVP ARCH FOLLOWED
  • DISTRIBUTED SYSTEM INBUILT TARGETED
  • DEDICATED TO MICROSERIVCES
  • SERVICE DISCOVERY INBUILT
  • DATA FLOW SIMPLIFIED (ONE WAY COM, TWO WAY COM) COM WRITTEN FOR THIS
  • RPC (REMOTE PROCEDURE CALL) - COM WHICH USED TO COMMUNICATE BETWEEN MICROSERVICES

Example

const configSever = {
   "protocol": "http",
   "port": 3000,
   "name": "dev_server",
   "host": "0.0.0.0",
    com: true,
};
const StrictJS = require('strictjs')(configSever);
const TcpCom = StrictJS.com(configSever);
 
StrictJS.get({
   path: `/`,
   validation: {},
   failOver:”fail action method”,
   Tags: ["tag for swagger","description of api in swagger"],
  async handler(req, res) {
     res.json(“Hello World !!);
   },
 });
StrictJS.start();
 

Docs & Community

PROTIP

Security Issues

Quick Start

Philosophy

Next-Juggernaut JS is a web framework for distributed systems targeting Microservices. In our journey we experimented with HAPI Js and Express JS but found them lacking in terms of dedication to microservices. It is based on NODEjs and provides better performance that HAPI JS and best coding style compared to Express JS.

Examples

Tests

People

The original author of Next-Juggernaut is Jungleworks

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i next-juggernaut

Weekly Downloads

18

Version

0.1.8

License

ISC

Unpacked Size

3.44 MB

Total Files

80

Last publish

Collaborators

  • kamorahul