Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@thisisagile/easy

Package Overview
Dependencies
Maintainers
2
Versions
1266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thisisagile/easy

Straightforward library for building domain-driven microservice architectures

  • 1.3.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18K
increased by23.43%
Maintainers
2
Weekly downloads
 
Created
Source

easy

Quality Gate Status semantic-release

Straightforward library for building domain-driven microservice architectures, implementing a simple evolutionary architecture. This library is distilled from projects where the teams I've worked with built platforms based on a simple, common architecture where each service centers around a small part of the platform domain.

This library will include best practices to support building services, such as:

  • Nicely separated into four single-purpose layers, services, process, domain, data.
  • Each layer contains single-purpose layer supertype classes.
  • In the data layer we use gateways - either to a database, or to other services.
  • In the domain layer there are supertypes to model the domain, such as entities, records, value objects and enumerations.
  • The domain layer also knows the repository layer supertype, for handling instances of entities and structs.
  • The process layer contains use cases, that model your process.
  • The services layer has resource as the layer supertype, to model the API exposed.
  • Additionally, this library contains utility classes for standardizing e.g. uri's, and ids, constructors, lists, queries, and errors.
  • This library will contain a simple validation mechanism, using decorators.

We keep this library simple on purpose, extending it using additional libraries and frameworks should be possible simply by embedding their API's.

Likely we will use jest for unit testing, wrap axios for request handling, and a simple mongodb connector, and wrap tsyringe for dependency injection.

FAQs

Package last updated on 08 Nov 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc