Home Page |
Discord |
Examples |
Blog |
Documentation
[](https://discord.gg/refine)
[](https://twitter.com/refine_dev)
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**.
# Hasura integration for refine
[Hasura](https://hasura.io/) is an open-source product that accelerates API development by giving you GraphQL or REST APIs with built-in authorization on your data, instantly
[refine](https://refine.dev/) is **headless by design**, offering unlimited styling and customization options. Moreover, refine ships with ready-made integrations for [Ant Design](https://ant.design/), [Material UI](https://mui.com/material-ui/getting-started/overview/), [Mantine](https://mantine.dev/), and [Chakra UI](https://chakra-ui.com/) for convenience.
refine has connectors for 15+ backend services, including REST API, [GraphQL](https://graphql.org/), and popular services like [Airtable](https://www.airtable.com/), [Strapi](https://strapi.io/), [Supabase](https://supabase.com/), [Firebase](https://firebase.google.com/), and [NestJS](https://nestjs.com/).
## Installation & Usage
```
npm install @refinedev/hasura
```
```tsx
import dataProvider, { GraphQLClient } from "@refinedev/hasura";
const client = new GraphQLClient("HASURA_API_URL", {
headers: {
"x-hasura-role": "public",
},
});
const App = () => {
return (
{/* ... */}
);
};
```
## Documentation
- For more detailed information and usage, refer to the [refine data provider documentation](https://refine.dev/docs/core/providers/data-provider).
- [Refer to documentation for more info about refine](https://refine.dev/docs/).
- [Step up to refine tutorials](https://refine.dev/docs/tutorial/introduction/index/).