Skip to content

Commit

Permalink
Merge branch 'master' into delucis/feat/plugin-player
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Apr 2, 2020
2 parents e7e677b + 21c174e commit ab5403c
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docs/documentation/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,28 @@ const server = Server({
server.run(8000);
```

### Firebase
### Other backends

#### Firebase

Instructions at https://github.com/delucis/bgio-firebase.

### Postgres
#### Postgres

Coming soon.

### MongoDB
#### MongoDB

Coming soon (used to be supported but is not in sync with the
latest release).

### Caching

Depending on your set-up, you may want the server to cache some of the data,
reducing the load on your database and speeding up server responses.
[bgio-storage-cache](https://github.com/delucis/bgio-storage-cache) offers
a basic caching model compatible with any boardgame.io database connector.

### Writing a Custom Adapter

Create a class that implements the [StorageAPI.Async](https://github.com/nicolodavis/boardgame.io/blob/master/src/server/db/base.ts) interface.

0 comments on commit ab5403c

Please sign in to comment.