ra-parseserver-client

1.0.2 • Public • Published

ra-parseserver-client

A react-admin client for Parse Server.

Forked and updated from aor-parseserver-client

Installation

npm install ra-parseserver-client --save

Usage

As a parameter of the <Admin> component

// in src/App.js
import React from 'react';
import { Admin, Resource } from 'react-admin';
import { PostList } from './posts';
import { RestClient } from 'ra-parseserver-client';

const parseConfig = {
	URL : 'https://my-app-url.com/parse',
	'APP-ID' : 'MyAppId',
	'REST-API-KEY' : 'MyRestAPIKey',
	'MASTER-KEY' : 'MyMasterKey',
};

const App = () => (
    <Admin restClient={RestClient(parseConfig)} >
        <Resource name="posts" list={PostList} />
    </Admin>
);

export default App;

Changelog

v1.0.0

  • Initial release forked from aor-parseserver-client
  • Added support for using Master Key

License

This library is licensed under the MIT Licence.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i ra-parseserver-client

      Weekly Downloads

      0

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      12.1 kB

      Total Files

      7

      Last publish

      Collaborators

      • jorisd89