Socket
Socket
Sign inDemoInstall

@methodus/server

Package Overview
Dependencies
7
Maintainers
4
Versions
158
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@methodus/server

Server components for @methodus workflow


Version published
Maintainers
4
Weekly downloads
149
decreased by-18.13%

Weekly downloads

Readme

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:

  1. Do you wish to build a NodeJS based monolithic server?

    Monolits are easy to develop and reason about.

  2. 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.

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

    Annotated API's are easy to integrate and discover

  4. 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

  5. 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/framework-data @methodus/describe

License

FOSSA Status

FOSSA Status

** Reference **

filename

** Tests overview **

tests

Keywords

FAQs

Last updated on 27 May 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc