node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



Build Status

parse-server file system storage adapter


npm install --save @parse/fs-files-adapter

usage with parse-server

using a config file

  "appId": 'my_app_id',
  "masterKey": 'my_master_key',
  // other options
  "filesAdapter": {
    "module": "@parse/fs-files-adapter",
    "options": {
      "filesSubDirectory": "my/files/folder" // optional

passing as an instance

var FSFilesAdapter = require('@parse/fs-files-adapter');

var fsAdapter = new FSFilesAdapter({
      "filesSubDirectory": "my/files/folder" // optional

var api = new ParseServer({
    appId: 'my_app',
    masterKey: 'master_key',
    filesAdapter: fsAdapter