1.0.0 • Published 2 years ago

microlib-example v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Developing a federated application with ÆGIS

Getting Started

Click here to use this project as a tempate. Fill out the form. A new repo is created. Clone it and start coding!

git clone https://github.com/module-federation/<your repo name>
cd <your repo name>
cp dotenv.example .env
yarn
yarn build

Otherwise, fork this repo and Open in Gitpod

See the article that describes these concepts in detail.

This template repo provides the scaffolding to build a federated application on ÆGIS. It contains an example of an Order, User, Customer and Inventory service streaming to and running in the same ÆGIS host server process. (Other builds area available where the services run remotely.) The repo also includes a test server for running the examples (and the required middleware). The examples demonstrate integration with, and orchestration of, an Address, Payment, Inventory, Shipping, Event (Kafka), and Persistance service (MongoDB) using federated ports.

Feel free to delete the examples and start fresh.