Giter VIP home page Giter VIP logo

Matter In Motion

NPM Version NPM Downloads

Node.js framework and protocol with the focus on real-time applications, blazing response time and low memory footprint.

Why not REST?

Put simply, a real-world application needs more than GET, POST, PUT, DELETE. Real-world applications use more than just HTTP. How about WebSockets? MQTT? Events? Notifications? With REST your API is bind to HTTP.

Let’s stop pretending REST is a good idea. REST is a bad idea that twists HTTP into something it is not, only to work around the limits of the browser, another tool twisted into being something it was never meant to be. This can only end in tears.

Features

  • ~250ms startup time for simple demo application worker
  • Under 1s startup time for real world application cluster with 8 workers
  • Secure built-in authorization with cryptographic passwords hashing bcrypt, JSON Web Tokens (RFC 7519) encoding/decoding
  • Simple modular extensible architecture to build complex RPC APIs. (Code base in production since 2013)
  • Request and response data validation using declarative style API and JSON Schema validator (ajv)
  • Simple error handling
  • Built-in API auto discovery
  • Simple test tools (mm-test)

Usage

  1. Getting started β€” explanations of framework's architecture and a tutorial with all the steps to make an application from scratch
  2. Clone the demo application.

Content

License: MIT.

Matter in Motion's Projects

app icon app

Generic App. Has settings. Loads extensions.

mm icon mm

Node.js framework and protocol with the focus on real-time applications, blazing response time and low memory footprint.

mm-db icon mm-db

Simple default database shortcut extension

mm-file icon mm-file

File uploads and processing resource extension

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.