Generate React application with GraphQL backend in minutes
We added a new experimental feature in the 8base CLI (Command Line Interface), which generates a ready-made React application from your data model. It is very convenient to start working with GraphQL and React, as well as to quickly create the user interface of the application. Looks like scaffolding in Ruby-on-Rails.
The created application is based on the Create React App , uses the Apollo Client for GraphQL queries, includes Auth0 based authentication , and the ability to download files.
Run the command 8base generate app $ {YOU_APP_NAME} to generate an application template,
Run 8base generate scaffold $ {TABLE_NAME} to generate the CRUD UI of the selected data table (you can repeat this step for each table you want to add),
Finally, run yarn install && yarn start to start the application.
Gifka, which visually shows the execution of these steps in the terminal: ')
Total
Here is an example of the generated React application:
I would appreciate feedback. More information here . PS Now the 8base platform is in beta testing and is completely free.