1.0.2 • Published 5 years ago

ra-parseserver-client v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

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.

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago