Get started
Vulcan Fire is already included in Vulcan Next and is production-ready.
Documentation in progress.
Easy CRUD for GraphQL servers
Vulcan Fire makes CRUD operations easyβ
When coding your application, you might notice that some operations are always the same for any kind of data:
- you need to Create, Update or Delete data
- you need to Read data, either a single document, or a list of items
This is what we call "CRUD" operations.
In your Apollo server setup, this means that you need to code at least 4 resolvers for each kind of data. A blog with Authors, Articles and Comments already needs 12 resolvers!
In your Apollo client setup, this means you also need to code at least 4 type queries to either get or mutate the data. A basic blog app will need at least 12 graphql queries!
Yet, all your code will look vaguely the same: you check permissions, you update the data, your run some code when before or after the database operation...
Let's improve that!
Free CRUD resolvers for your data modelβ
Vulcan Fire provides:
- π‘ Server-side, an engine to automatically generate your GraphQL schema based on a simple JavaScript object that describes your data
- π‘ Server-side, 5 default resolvers that can either mutate data (create, update, delete) or fetch data from your database (getting a single specific item, or a list of multiple items)
- π‘ Server-side, resolvers for
hasOne
andhasMany
relations between entities (eg a blog Article and its Author and Comments) - π» Client-side, 5 hooks to easily consume data:
useCreate
,useUpdate
,useDelete
,useSingle
anduseMulti
- π» Client-side, a few optional autogenerated UI components to display the data: form, datatable, card (work in progress)
It works for any databaseβ
Fire can plug to any database, as long as you can implement the basic CRUD operations to build what we call a "Connector".
We provide a Mongoose connector out-of-the-box.
There is no lock-inβ
Vulcan Fire makes you productive in the early stages of your application development, or even later on.
However, if you start needing very custom and complexe code, there is absolutely no-restriction. You can still write normal Apollo GraphQL resolvers as you would do without Fire.
There is also no obligation to use Fire hooks client-side. Or to use React. Or even to client-side GraphQL, thanks to tools such as Wundergraph. If you need only a backend, you might like our Vulcan Express starter.
Give it a try!β
The easiest way to start with Fire, is to discover either our Next.js starter or our Express starter.