Skip to content

RaiVaibhav/react-admin-hasura-low-code-auth0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Admin Low Code With Auth0(v1)

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.

Future Plan

Release v2 which will support authProvider for auth0 for react-admin

Alternatives

@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:

Available Scripts

In the project directory, you can run:

yarn start

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.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

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.

About

Demo of react-admin with Hasura and auth0

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published