somus / prisma-admin

A clean admin panel UI to manage prisma's graphql API data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prisma Admin

A clean GUI to manage prisma's graphql API data.

Prisma admin screenshot

Motivation

I recently started learning graphql and was playing around with it. So, I eventually came across prisma and started using it. While the graphiql editor which comes with it is great for testing the queries and mutations. It is not intuitive for creating or managing data. So, I started playing around with the introspection query and made prisma-admin.

How it works

Prisma admin uses the introspection query to fetch the schema details for the given prisma endpoint from the cli. Then, it filters the query and list all the main types from the schema in the nav bar. Each type page shows a paginated list of available data where you have the option and add, edit & delete data.

Getting started

yarn global add prisma-admin
prisma-admin PRISMA_ENDPOINT

Development

To start the development server,

git clone https://github.com/somus/prisma-admin.git
cd prisma-admin
yarn install
yarn start

TODO

  • Add tests

About

A clean admin panel UI to manage prisma's graphql API data

License:MIT License


Languages

Language:JavaScript 93.1%Language:HTML 4.5%Language:CSS 2.4%