Software Alternatives & Reviews

Bookshelf.js VS GraphQL

Compare Bookshelf.js VS GraphQL and see what are their differences

Bookshelf.js logo Bookshelf.js

Application and Data, Data Stores, and Object Relational Mapper (ORM)

GraphQL logo GraphQL

GraphQL is a data query language and runtime to request and deliver data to mobile and web apps.
  • Bookshelf.js Landing page
    Landing page //
    2021-08-21
  • GraphQL Landing page
    Landing page //
    2023-08-01

Bookshelf.js videos

Bookshelf.js crud for beginners

GraphQL videos

REST vs. GraphQL: Critical Look

More videos:

  • Review - REST vs GraphQL - What's the best kind of API?
  • Review - What Is GraphQL?

Category Popularity

0-100% (relative to Bookshelf.js and GraphQL)
Development
100 100%
0% 0
Developer Tools
0 0%
100% 100
Web Frameworks
25 25%
75% 75
Javascript UI Libraries
0 0%
100% 100

User comments

Share your experience with using Bookshelf.js and GraphQL. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, GraphQL seems to be a lot more popular than Bookshelf.js. While we know about 223 links to GraphQL, we've tracked only 6 mentions of Bookshelf.js. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Bookshelf.js mentions (6)

  • Top 6 ORMs for Modern Node.js App Development
    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. - Source: dev.to / 7 months ago
  • Is there a 'batteries included' backend framework like Django, but written in JS?
    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). Source: about 2 years ago
  • Using Database Transactions to Write Queries in Strapi
    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... - Source: dev.to / over 2 years ago
  • Recovering XAMPP developer looking to make a Node CRUD app. What Node database tools are easy to learn?
    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. Source: over 2 years ago
  • How to get randomly sorted recordsets in Strapi
    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.... - Source: dev.to / over 2 years ago
View more

GraphQL mentions (223)

  • Building Scalable GraphQL Microservices With Node.js and Docker: A Comprehensive Guide
    GraphQL is a query language and runtime for APIs. It provides a flexible and efficient way for clients to request and retrieve specific data from a server using a single API endpoint. - Source: dev.to / 25 days ago
  • Type-Safe Fetch with Next.js, Strapi, and OpenAPI
    When you use technologies like GraphQL, it is trivial to derive TypeScript types. A GraphQL API is created by implementing a schema. Generating the TypeScript type definitions from this schema is simple, and you do not have to do any more work than just making the GraphQL API. This is one reason why I like GraphQL so much. - Source: dev.to / about 1 month ago
  • REST vs. GraphQL: A Detailed Comparison of API Architectures for Developers
    REST and GraphQL have advantages, drawbacks, and use cases for different environments. REST is for simple logic and a more structured architecture, while GraphQL is for a more tailored response and flexible request. - Source: dev.to / about 1 month ago
  • Gatsby tutorial: Build a static site with a headless CMS
    A Gatsby site uses Gatsby, which leverages React and GraphQL to create fast and optimized web experiences. Gatsby is often used for building static websites, progressive web apps (PWAs), and even full-blown dynamic web applications. - Source: dev.to / about 1 month ago
  • Rust GraphQL APIs for NodeJS Developers: Introduction
    In my usual NodeJS tech stack, which includes GraphQL, NestJS, SQL (predominantly PostgreSQL with MikroORM), I encountered these limitations. To overcome them, I've developed a new stack utilizing Rust, which still offers some ease of development:. - Source: dev.to / 7 months ago
View more

What are some alternatives?

When comparing Bookshelf.js and GraphQL, you can also consider the following products

Beego - Beego Web is official blog and documentation website for beego app web framework

gRPC - Application and Data, Languages & Frameworks, Remote Procedure Call (RPC), and Service Discovery

Mikro orm - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns.

Next.js - A small framework for server-rendered universal JavaScript apps

Propel ORM - Application and Data, Languages & Frameworks, and Microframeworks (Backend)

React - A JavaScript library for building user interfaces