https://github.com/ralliejs/rallie
a library that helps developers implement decentralized front-end micro service architecture
https://github.com/ralliejs/rallie
frontend-web javascript micro-frontend micro-frontend-architecture microfrontends module-federation react vue
Last synced: 3 months ago
JSON representation
a library that helps developers implement decentralized front-end micro service architecture
- Host: GitHub
- URL: https://github.com/ralliejs/rallie
- Owner: ralliejs
- License: mit
- Created: 2019-12-02T15:17:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-02T06:20:00.000Z (about 1 year ago)
- Last Synced: 2025-06-03T22:07:45.367Z (10 months ago)
- Topics: frontend-web, javascript, micro-frontend, micro-frontend-architecture, microfrontends, module-federation, react, vue
- Language: TypeScript
- Homepage: https://rallie.js.cool
- Size: 22.3 MB
- Stars: 299
- Watchers: 3
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://coveralls.io/github/ralliejs/rallie?branch=master) [](https://github.com/ralliejs/rallie/releases) [](https://github.com/ralliejs/rallie/commits/master) [](https://lerna.js.org/)
[简体中文](https://github.com/ralliejs/rallie/blob/master/README.zh.md) | 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
- code: [https://github.com/ralliejs/rallie/tree/master/playground](https://github.com/ralliejs/rallie/tree/master/playground)
- preview: [https://ralliejs.github.io/rallie/index.html](https://ralliejs.github.io/rallie/index.html)
## Ecosystem
- [@rallie/react](https://github.com/ralliejs/rallie/tree/master/packages/react): support react services by providing hooks
- [@rallie/vue](https://github.com/ralliejs/rallie/tree/master/packages/vue): support vue3 services by providing composition api and support vue2 services by providing mixins
- [@rallie/load-html](https://github.com/ralliejs/rallie/tree/master/packages/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](https://ralliejs.github.io/docs/)
## License
rallie is [MIT Licensed](https://github.com/ralliejs/rallie/blob/master/LICENSE)