
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@blackbox-vision/ra-data-jsonapi-microservices
Advanced tools
React Admin data provider with support for microservices using JSON API
React Admin DataProvider with support for micro-services architecture with JSON API Spec.
You can install this library via NPM or YARN.
npm i @blackbox-vision/ra-data-jsonapi-microservices
yarn add @blackbox-vision/ra-data-jsonapi-microservices
You use react-admin for building a frontend to manage CRUD resources, and you have a micro-service architecture for your services.
import React from 'react';
import { Admin, Resource } from 'react-admin';
import { microServicesJsonApiProvider } from '@blackbox-vision/ra-data-jsonapi-microservices';
import { PostList } from './posts';
const dataProvider = microServicesJsonApiProvider({
posts: 'http://posts.api.url',
});
const App = () => (
<Admin dataProvider={dataProvider}>
<Resource name="posts" list={PostList} />
</Admin>
);
export default App;
import React from 'react';
import { Admin, Resource } from 'react-admin';
import { microServicesJsonApiProvider } from '@blackbox-vision/ra-data-jsonapi-microservices';
import { PostList } from './posts';
const customHttpClient = (url, options = {}) => {};
const dataProvider = microServicesJsonApiProvider(
{ posts: 'http://posts.api.url' },
customHttpClient,
);
const App = () => (
<Admin dataProvider={dataProvider}>
<Resource name="posts" list={PostList} />
</Admin>
);
export default App;
Please, open an issue following one of the issues templates. We will do our best to fix them.
If you want to contribute to this project see contributing for more information.
Distributed under the MIT license. See LICENSE for more information.
FAQs
React Admin data provider with support for microservices using JSON API
We found that @blackbox-vision/ra-data-jsonapi-microservices demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.