ralliejs / rallie

a library that helps users implement decentralized front-end micro service architecture

Home Page:https://rallie.js.cool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



Coverage Status release lastCommit lerna

简体中文 | English

Introduction

Rallie is a library that can help users implement decentralized front-end micro service architecture. The front-end application developed based on rallie can become a service that exposes responsive states, events and methods. Different services can share dependencies, flexibly combine and arrange, so as to improve the scalability of large-scale front-end applications

Features

  • Decentralized service arrangement: there is no concept like main-application and sub-application, everything is service, and the dependencies between services are managed and arranged by rallie
  • communication between services: services can expose reactive states based on @vue/reactivity along with events and methods based on proxy
  • Middleware: The middleware mechanism based on koa-compose makes the process of loading application's resource become really flexible and scalable
  • Support mainstream front-end technology: rallie is friendly to typescript, and supports vue2, vue3, react and vanilla js

Example

Ecosystem

  • @rallie/react: support react services by providing hooks
  • @rallie/vue: support vue3 services by providing composition api and support vue2 services by providing mixins
  • @rallie/load-html: A middleware that allows services load resources directly from HTML

Document

Rallie.js: A library that helps users implement decentralized front-end micro service architecture

License

rallie is MIT Licensed

About

a library that helps users implement decentralized front-end micro service architecture

https://rallie.js.cool

License:MIT License


Languages

Language:TypeScript 88.8%Language:JavaScript 4.6%Language:Vue 4.6%Language:HTML 1.2%Language:CSS 0.7%Language:Shell 0.1%