@neuledge/mongodb-store
v0.2.1
Published
A store for [Neuledge Engine](https://github.com/neuledge/engine-js) that uses [MongoDB](https://www.mongodb.com/) as the database backend.
Downloads
6
Readme
Neuledge MongoDB Store
A store for Neuledge Engine that uses MongoDB as the database backend.
📦 Installation
npm install @neuledge/mongodb-store
🚀 Getting started
import { Engine } from '@neuledge/engine';
import { MongoDBStore } from '@neuledge/mongodb-store';
const store = store: new MongoDBStore({
url: process.env.MONGODB_URL ?? 'mongodb://localhost:27017',
name: process.env.MONGODB_DATABASE ?? 'my-database',
});
const engine = new Engine({
store,
});
For more information, please refer to the main repository.
📄 License
Neuledge is Apache 2.0 licensed.