graphiql VS Bookshelf

Compare graphiql vs Bookshelf and see what are their differences.

graphiql

GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools. (by graphql)

Bookshelf

A simple Node.js ORM for PostgreSQL, MySQL and SQLite3 built on top of Knex.js (by bookshelf)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
graphiql Bookshelf
41 8
15,610 6,338
0.7% 0.0%
9.0 0.0
5 days ago 14 days ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

graphiql

Posts with mentions or reviews of graphiql. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-15.
  • FLaNK 15 Jan 2024
    21 projects | dev.to | 15 Jan 2024
  • Migrating Netflix to GraphQL Safely
    3 projects | news.ycombinator.com | 14 Aug 2023
    > FYI, GraphiQL is deprecated, GraphQL Playground is a good alternative.

    You have this backwards.

    https://github.com/graphql/graphql-playground/issues/1366#is...

    https://github.com/graphql/graphiql

  • Build Smarter, Not Harder: Simplifying Backend Workflows with Build-time GraphQL
    6 projects | dev.to | 26 Jun 2023
    GraphQL is declarative and self-documenting by nature. There’s a single endpoint, and all available data, relationships, and APIs can be explored and consumed by client teams (via the GraphiQL interface or just Introspection) without constantly going back and forth with backend teams.
  • GraphQL IDEs: GraphiQL vs Altair
    2 projects | dev.to | 21 Jun 2023
    GraphiQL is one of the most well-known GraphQL IDEs. Originally developed by Facebook, it is an in-browser tool that enables developers to write, validate, and test GraphQL queries. It is open-source and can be integrated into any project that uses GraphQL. Recently, GraphiQL has been revamped with a new UI and several new features as you can read in ths blog post I wrote earlier.
  • React.dev
    21 projects | news.ycombinator.com | 16 Mar 2023
    Nice! I think you might like it.

    Ah yeah, that does take a while to unpack. I think a lot of the complexity there is dealing with a non-react library and the dynamic import(s). Binding non-react libraries can be a bit rough.

    I do think it's a good example to show the big advantage of hooks, if you look at the use of the hook, super clean: https://github.com/graphql/graphiql/blob/50674292c55eadf0e61...

    Great way to contain complexity and make usage really clean and simple!

    21 projects | news.ycombinator.com | 16 Mar 2023
    So I spent some more time reading through using HOCs in React and I think I'll have to give functional components more of a try. The specific example I was thinking of is https://github.com/graphql/graphiql/blob/50674292c55eadf0e61... but this component will probably always be complex because of the Codemirror interaction.
  • Is there anything like a GraphQL playground for testing various features of GraphQL?
    2 projects | /r/graphql | 11 Jan 2023
    Graphiql: https://github.com/graphql/graphiql
  • Exploring GraphiQL 2 Updates and New Features
    2 projects | dev.to | 12 Dec 2022
    After GraphQL Playground became part of the GraphQL Foundation, the need for having just one GraphQL IDE became more important. So the GraphQL Foundation decided to merge GraphiQL and GraphQL Playground into one tool. GraphiQL 1 relied on major tech debt and multiple dependencies that were outdated and hard to maintain. With the merge of GraphiQL and GraphQL Playground, the GraphQL Foundation decided to create a new version of GraphiQL, which is now called GraphiQL 2. The design and creation of GraphiQL 2 was all documented in Github.
  • Vue3 + GraphQL : Best way to structure project & queries?
    2 projects | /r/vuejs | 3 Dec 2022
    #3: As I mentioned above, we use GraphQL Code Generator for generating TypeScript types and composables, as well as type checking our queries against the schema. This results in fully type-safe code from the back-end all the way to the front-end. As far as editor extensions go, the GraphQL: Language Feature Support VSCode extension should work fine, I use the language server part of that extension with Neovim. It provides autocompletion based on the schema and diagnostics. It looks like it might not work in .vue files though.
  • React Real Time Messaging With GraphQL
    3 projects | dev.to | 23 Oct 2022
    OneGraphiQL is a data explorer that allows us to build up our GraphQL queries and mutations. It is the OneGraph implementation of GraphiQL, which can be used with any GraphQL endpoint. GraphiQL is the perfect way to discover the different things we can request. It is generated from the GraphQL schema and provides helpful documentation for the graph's queries, mutations and types. Additionally, it can intelligently suggest options while we are building our queries and mutations.

Bookshelf

Posts with mentions or reviews of Bookshelf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-11.
  • Top 6 ORMs for Modern Node.js App Development
    7 projects | dev.to | 11 Oct 2023
    Bookshelf.js is an uncomplicated and lightweight ORM designed for Node.js, constructed atop the Knex.js query builder. Its primary aim is to support SQL databases, such as PostgreSQL, MySQL, and SQLite. Bookshelf.js focuses on simplicity and user-friendliness, offering a direct method for defining models and relationships through JavaScript classes and prototypal inheritance.
  • Is there a 'batteries included' backend framework like Django, but written in JS?
    5 projects | /r/learnjavascript | 6 Mar 2022
    If you're set on JS (using only one language on a team/project can be very nice) common choices for backend often involve using Express or hapi with some ORM (like Prisma or Bookshelf).
  • ORM - As melhores bibliotecas para JavaScript
    3 projects | dev.to | 25 Feb 2022
  • Using Database Transactions to Write Queries in Strapi
    3 projects | dev.to | 27 Jan 2022
    Strapi uses Bookshelf.js library to send database queries in an ORM fashion. Bookshelf itself is powered by Knex.js, which is a SQL query builder. Knex.js supports popular SQL-based database engines like PostgreSQL, SQLite, MySQL, and MariaDB, which are also supported by Strapi. Knex.js also supports database transactions, which then makes Bookshelf also provides support for it. With a basic understanding of both libraries, we can add Database transaction support to Strapi queries.
  • Recovering XAMPP developer looking to make a Node CRUD app. What Node database tools are easy to learn?
    8 projects | /r/node | 30 Dec 2021
    I made the transition from LAMP to Node-based stacks 6 or 7 years ago and started out using BookshelfJS. Node is a different world though, one that lends itself to distributed services and server-less infrastructure, and it's changed how I interact with DBs.
  • How to get randomly sorted recordsets in Strapi
    4 projects | dev.to | 12 Nov 2021
    First, we need to get all recordsets randomly sorted. To achieve this, we will need to build a query. Strapi is using Bookshelf as an ORM. So we can start by getting our Partnership model, so we can run a query on it. Inside the query, we get a knex (this is the query builder that Bookshelf uses under the hood) query builder instance. On this query builder instance, we can there ask to order recordsets randomly. Let's try this:
  • Autogenerate GraphQL API documentation with SpectaQL
    7 projects | dev.to | 25 Apr 2021
    A few of the most important characteristics of the solution we wanted was that any documentation-related work had to be easy for developers, and it would ideally be located in proximity to the actual implementing code. Anvil's web application is written in Node, and we chose Apollo as our GraphQL framework and use a modified version of Bookshelf as our ORM.
  • What do you think about ORMs?
    6 projects | /r/node | 18 Jan 2021
    FYI Currently I use Knex with Bookshelf. Bookshelf is an ORM written by Knex author before TypeORM, Objection... existed. It's not maintained anymore but it works fine and is much better than Sequelize when I've tried.

What are some alternatives?

When comparing graphiql and Bookshelf you can also consider the following projects:

Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.

Objection.js - An SQL-friendly ORM for Node.js

TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

Mongoose - MongoDB object modeling designed to work in an asynchronous environment.

graphql-playground - 🎮 GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration)

Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

altair - ✨⚡️ A beautiful feature-rich GraphQL Client for all platforms.

spectaql - Autogenerate static GraphQL API documentation

Waterline - An adapter-based ORM for Node.js with support for mysql, mongo, postgres, mssql (SQL Server), and more

apollo-server - 🌍  Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.

dociql - A beautiful static documentation generator for GraphQL

Iridium - A high performance MongoDB ORM for Node.js