An admin interface for your database with a GraphQL API.
This is a work-in-progress project. It requires a super recent version of Node.js and using it in production is not recommended.
An overview of GraphQL in general is available in the README for the Specification for GraphQL.
Install graphfront-ui from npm
npm install --save graphfront-ui
graphfront-ui provides an admin interface for your database.
First, mount the server url endpoints with:
import graphfrontRouter from 'graphfront-ui/server';
app.use('/', graphfrontRouter({ path: 'dashboard' }));
Then, in a view template at /dashboard, render a React application using:
import reactApp from 'graphfront-ui/client';
reactApp('mountNodeId');
mountNodeId
has to exist in the template's HTML
The server code expects the user to be logged in and it expects access to the database structure at db.sql
We actively welcome pull requests, learn how to contribute.
Changes are tracked as Github releases.
graphfront-ui is BSD-licensed.