JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 280
  • Score
    100M100P100Q72077F
  • License MIT

erpjs - the headless serverless ERP and CRM for the cloud core

Package Exports

  • @erpjs/model

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@erpjs/model) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@erpjs - the headless serverless ERP and CRM for the cloud - the business core

This package contains the business core of erpjs - the headless serverless ERP and CRM for the cloud. erpjs can run on your local computer, in a containerized environment like Kubernetes (K8) on Google Cloud, Microsoft Azure or IBM Cloud or even as a serverless function in AWS.

The library has only two peerDependencies so you can easily base your own CRM or ERP on the top of the package and use the ORM or REST etc. libraries you like.

This library contains only the business code, no persistence, minimum dependencies:

  • services (e.g. BankAccountService or LeadService). The services contains the core business logic like:

    • SalesInvoiceService makes sure VATs are applied if necessary, the grand total is rounded and is ready to be posted with the correct currency rate
    • ProspectService correctly converts SuspectModel to ProspectModel when needed
  • entity interfaces (e.g. AccountModel or CustomerModel ). What are the basic minimum attributes entities need to have.

  • jobs (e.g. SalesInvoiceJob). Repeatable jobs that e.g. assign document numbers to invoices.

  • args. The interface for a new entity to be created through the service.

  • Injector to be able to make calls between services.

If you are looking for a bigger example, please have a look at iDempiere-micro/erpjs. It contains the monorepo of the erpjs API server (backend) and a sample Angular web client (frontend) together with some libraries like @erpjs/model, the business core of erpjs.

adding task sample

Documentation

The documentation is available at Docs.