This is an example react-admin application (configuration based CRUD admin UI builder) and build on top of react-admin-low-code demonstrating how to use the ra-data-hasura-graphql data provider with a Hasura (automatic GraphQL API backend on top of PostgreSQL) and authentication with Auth0. By combining these technologies, you can build an entire back office admin suite in a matter of hours.
Note - This wrapper don't use authProvider
it uses useAuth0
hook of the auth0-react and wraps the child component, because of this it limits various functionality which can be easily achievable by using authProvider
but we can combine react-admin
and auth0-react
to achive so.
Release v2 which will support authProvider for auth0
for react-admin
@dvasdekis has taken this concept a step further and integrated Docker Compose for development, Firebase for authentication and Flyway for database migrations.
Check it out here: react-admin-hasura-firebase
@hgiasac has also put together a very complete example with TypeScript. He's created several branches demonstrating auth with jtw and firebase as well as a backend that includes Hasura Actions and Events and auth:
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.