Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@methodus/server

Package Overview
Dependencies
Maintainers
4
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@methodus/server

Server components for @methodus workflow

Source
npmnpm
Version
7.0.16
Version published
Weekly downloads
191
-38.78%
Maintainers
4
Weekly downloads
 
Created
Source

logo Methodus

Build Status

Introduction

Methodus is a framework for building efficient, developer friendly, scalable Node.js server/server/client applications. It uses Typescript Decorators to annotate and define the application, allowing developers to focus on the actual functionality the application needs. Its "Build now, Decide later" design patterns and architecture is what makes Methodus so versatile and powerfull.

Using transport abstractions, Methodus application code can connect to any NodeJS framework, with builtin support for the HTTP/HTTP2 protocols and builtin routers for express/fastify.

Philosophy

We love developing applications, but the process requires the we predecide allot before we actually begin.

  • What framework to use?
  • How will it be deployed?
  • What is the testing strategy?

Once these decisions are made, they are rarely changed. And since changes cost money, they are never made. So, by abstracting the framework code from our logic code, we get a generic application, that can run on virtually any protocol/framework.

From the dungeon master,

My fellow adventures developer, I welcome you into Methodus. You did not arrive here by mistake, nor was it an accident, it is your fate. Like all adventures yours will begin with a simple implementation and evolve and gain complexity, by then
Methodus will guide you through the evolution of your application as it grows and gains complexity.

But first you should ask yourself this:

  • Do you wish to build a NodeJS based monolithic server?

    Monolits are easy to develop and reason about.

  • Would you like to be able to break this monolith into micro-services as you scale it out?

    Micro-services are much more performant but complexity rises too.

  • How about an automatic testing plugin, allowing you to autodocument your apis and test them?

    Annotated API's are easy to integrate and discover

  • Would you like to concentrate on your logic code only, without the need to wire it to a specific framework?

    Code first, wire later, almost too good to be through

  • Are you going to consume this service using another application or a frontend application?

    With methodus / methodus-client services can be consumed using code contracts

/Server

The server components of methodus (nodejs). Use it to build a nodejs server application with support for various transports.

/Client

Connect your server to any Javascript client using this client library

/Plugin

Debug and analyse your server application using this plugin

/Contracts

Build binding packages to your server application

/Data

Model API data objects and manage DB access (mongodb)

@methodus/server @methodus/platform-web @methodus/contracts @methodus/data @methodus/describe

License

FOSSA Status

FOSSA Status

** Reference **

filename

** Tests overview **

tests

Keywords

methodus

FAQs

Package last updated on 26 Sep 2020

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