Skip to content

jscomplete/graphfront-ui

Repository files navigation

graphfront-ui

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.

npm version

Getting Started

An overview of GraphQL in general is available in the README for the Specification for GraphQL.

Using graphfront-ui

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

Contributing

We actively welcome pull requests, learn how to contribute.

Changelog

Changes are tracked as Github releases.

License

graphfront-ui is BSD-licensed.

About

A multi-user admin interface on database schemas with a GraphQL API - Powering https://graphfront.com/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published