MongoDB storage adapter for the eventric event-sourcing library. Current stable version is 0.3.0. This package provides a MongoDB-based store for eventric aggregates and event streams. It is part of the eventric ecosystem and designed to be used with eventric core. The release cadence is low as the project appears to be in maintenance mode. Key differentiator: official adapter for eventric users requiring MongoDB persistence, but minimal documentation and no recent updates.
npm install eventric-store-mongodbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to connect to MongoDB, create an eventric context with the MongoDB store, define an aggregate, execute a command, and retrieve aggregate state.
Consider using eventric's built-in store or a maintained alternative.
Use `const store = await eventricMongoDbStore.connect(url)` instead of `new eventricMongoDbStore()`.
Ensure MongoDB is running and accessible at the provided URL.
Install eventric: npm install eventric
Start MongoDB or provide correct MONGO_URL environment variable
Use `import eventricMongoDbStore from 'eventric-store-mongodb'` then call `eventricMongoDbStore.connect(url)`