node package manager

@grexie/six-mongodb

MongoDB Adapter for Grexie Six

Codacy Badge Circle CI

You'll need to install Grexie Six to use this:

npm install -g @grexie/six
npm install @grexie/six

npm install @grexie/six-mongodb

And then add the data adapter to your application in six/server/adapters/index.js:

import Six from 'six';
import MongoAdapter from 'six-mongodb';
 
export default MongoAdapter.extend({
    init: function() {
        this.connect(Six.Config.MONGODB_URI || 'mongodb://localhost:27017/my-first-six-app');
    }
});

Finally run Six:

six serve