Skip to content

Commit

Permalink
[Documentation] Remove references to removed MongoDB adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Oli W committed May 2, 2020
1 parent a4c4c7c commit 6678263
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions docs/documentation/multiplayer.md
Expand Up @@ -218,22 +218,6 @@ either by a URL path or a lobby implementation.
The default storage implementation is an in-memory map.
If you want something that's more persistent, you can use one
of the bundled connectors for various backends, or even implement
your own connector. For example, here is how you can keep your
game state in a MongoDB.

```js
const { Server, Mongo } = require('boardgame.io/server');
const { TicTacToe } = require('./game');

const server = Server({
games: [TicTacToe],
db: new Mongo({
url: 'mongodb://...',
dbname: 'bgio',
}),
});

server.run(8000);
```
your own connector.

See [here](storage.md) for more details about how to customize storage.

0 comments on commit 6678263

Please sign in to comment.