graphql-box
v0.1.0
Published
[WIP] Instant GraphQL OpenCRUD database that is universally runnable & deployable
Downloads
4
Readme
graphql-box
Instant GraphQL OpenCRUD executable schemas. Universally deployable (It's just JS™) and compatible with any leveldown store!
What is it?
graphql-box
is a GraphQL schema generator. It accepts a GraphQL SDL
string and outputs an OpenCRUD schema.
This schema exposes CRUD queries and mutations, making it essentially a GraphQL-based ORM.
It can use any leveldown store as its storage engine, which in turns supports databases like IndexedDB, LevelDB, Redis, Mongo, and more.
Why does it exist?
GraphQL exists as a language and protocol facilitating a framework around specifying relational data and querying it. It speeds up the development of web apps by simplifying how to inject and fetch data.
On the server-side tools like Prisma help to speed up the other side of the GraphQL ecosystem. The development of GraphQL APIs can be sped a lot by writing data models in SDL and automating details of the data's storage away.
graphql-box
aims to make the latter as simple as possible, allowing you to quickly create ORM-like schemas
instantly in Node.js on a multitude of storage engines, or also just in the browser.