Get Started
To get started with EventFabric you need to install the core package and other relevant EventFabric packages based on your needs.
All packages live under the @eventfabric-cqrs scope.
- npm: @eventfabric-cqrs/core (and the rest of the @eventfabric-cqrs scope)
- JSR: @eventfabric-cqrs/core (and the rest of the @eventfabric-cqrs scope)
Prerequisites Prerequisites to install EventFabric.
Installation
Section titled “Installation”Depending on your package manager or runtime you can install EventFabric with the following command.
Examples
Section titled “Examples”-
Clone the EventFabric repository:
-
Switch to the
node-demodirectory: -
Copy the
.env.exampletemplate for local development (use environment variables in production) -
Start the ferretdb container as an Open Source licensed MongoDB alternative based on postgresql
-
Install packages (dependencies)
-
Starts the demo project
-
Use
curlor another tool to call theinvite-userAPI:outputs:
-
Use
/iam/users/groupsto receive all groups with the users:outputs:
-
Clean up and remove volumes