@ffimnsr/refine-postgrest
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published


refine is an open-source, headless React framework for developers building enterprise internal tools, admin panels, dashboards, B2B applications.

It eliminates repetitive tasks in CRUD operations and provides industry-standard solutions for critical project components like authentication, access control, routing, networking, state management, and i18n.

PostgREST integration for refine

PostgREST is a standalone web server that turns your PostgreSQL database directly into a RESTful API. The structural constraints and permissions in the database determine the API endpoints and operations.

refine is headless by design, offering unlimited styling and customization options. Moreover, refine ships with ready-made integrations for Ant Design, Material UI, Mantine, and Chakra UI for convenience.

refine has connectors for 15+ backend services, including REST API, GraphQL, and popular services like Airtable, Strapi, Supabase, Firebase, and NestJS.

Installation & Usage

npm install @ffimnsr/refine-postgrest
import { dataProvider, createClient } from "@ffimnsr/refine-postgrest";

const postgrestClient = createClient("POSTGREST_INSTANCE_URL");

const App = () => {
  return (
    <Refine
      dataProvider={dataProvider(postgrestClient)}
      /* ... */
    >
      {/* ... */}
    </Refine>
  );
};

Documentation

Readme

Keywords

none

Package Sidebar

Install

npm i @ffimnsr/refine-postgrest

Weekly Downloads

8

Version

1.0.0

License

MIT

Unpacked Size

66.1 kB

Total Files

14

Last publish

Collaborators

  • ffimnsr