Bookshelf
Strapi
Our great sponsors
Bookshelf | Strapi | |
---|---|---|
8 | 453 | |
6,338 | 59,548 | |
0.0% | 1.5% | |
0.0 | 10.0 | |
15 days ago | 1 day ago | |
JavaScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
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.
Bookshelf
-
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.
-
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).
- ORM - As melhores bibliotecas para JavaScript
-
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 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?
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
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
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?
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.
Strapi
-
The Mechanics of Silicon Valley Pump and Dump Schemes
Strapi
-
Open-Source Headless CMS in 2024
Strapi: The Code Anarchist
- Posthog is closing their Slack community in favor of forum
- Setup containerized Application in AWS ECS - Part 3/3
-
Best website builder for a news website
https://strapi.io/ https://prismic.io/ https://bubble.io/ https://hygraph.com/ https://www.sanity.io/
-
Different flavors of content management
A headless one is responsible only for data management and providing an API for other applications to show this data. When talking about headless CMS, Strapi or Sanity comes to my mind first, but there are many more.
-
I need recommendations for creating an API. Start from scratch, or are there projects I can build from?
I initially looked into CMS's like Strapi and Directus to possibly handle my admin UI + API all at once. I haven't found anything that looks like it can do this yet, but I'd be very happy to be proven wrong. I would prefer it to be based in .NET or Node.js since I am more familiar with those, but there's no reason I couldn't do PHP either.
-
Open Source: Strapi v4 - Formula field
A plugin for Strapi Headless CMS that provides an integration with powerful mathjs library.
- Launch HN: GitStart (YC S19) β Remote junior devs working on production PRs
-
Pros and cons of off-the-shelf solutions for creating a control panel
- We want a solution that creates CRUD (create, read, update, delete) quickly and requires minimal effort. - We want to be able to create some sort of complex interface if the task requires it. - We make cool, beautiful projects, so we want a visually pleasing solution. - We want the solution to be independent of the language on the back-end, because, for example, we started with PHP, Laravel, but over time node.js, Go appeared in the stack. In short, we want fast, beautiful and custom. We've had time to poke at various off-the-shelf solutions that we've been advised. They're good, but: - they are created specifically for some frameworks / languages like laravel, node.js - they can only generate CRUDs with a rigidly defined structure, where you can't implement or customize anything of your own. - they can't be styled Here's what we've been looking at Control Panels for Laravel: https://demo.backpackforlaravel.com/admin/dashboard Not a very pretty solution in our opinion. And the promo page has nice screenshots, not the demo "well such". https://orchid.software/en/ Not particularly functional, but neatly done https://nova.laravel.com They have a beautiful, but rigidly set strutkrua, you can not create castmon interfaces, stylize them. Just do CRUD and that's it. And it's paid https://filamentphp.com/ Analog to Nova, with essentially the same problems. For node.js: https://adminjs.co Nice promo, and the demo is way behind As standalone dashboards: https://strapi.io/ Very cool, but for other purposes. It's more of an entity builder with an interface and API https://pocketbase.io/ Similarly, it's an entity builder with an interface and API https://directus.io/ This is a backend builder. https://filamentphp.com/It is purely for php, you can't customize styles, you can't create your own interfaces. It is possible to create only tables and forms by template, and we remember that we want flexibility, independence from the language and the ability to create their own interfaces and customize them https://flatlogic.com This is also more of a backend builder. Direct competitors: https://github.com/refinedev/refine https://marmelab.com/react-admin/is probably the best solution that is currently on the market, they have been developing for a long time, they are our favorite. To the disadvantages we considered the following points: quite an old project, and somewhere the technology is already outdated, unsympathetic interface, old UI libraries. Huge documentation, itβs simply to create CRUD but hard to work without immersion. After all this there is only one conclusion: you need to do it yourself....
What are some alternatives?
Appwrite - Build like a team of hundreds_
KeystoneJS - The most powerful headless CMS for Node.js β built with GraphQL and React
AdminJS - AdminJS is an admin panel for apps written in node.js
Ghost - Independent technology for modern publishing, memberships, subscriptions and newsletters.
ApostropheCMS - A full-featured, open-source content management framework built with Node.js that empowers organizations by combining in-context editing and headless architecture in a full-stack JS environment.
Directus - The Modern Data Stack π° β Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database.
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.
react-admin - A frontend Framework for building data-driven applications running on top of REST/GraphQL APIs, using TypeScript, React and Material Design
appsmith - Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Objection.js - An SQL-friendly ORM for Node.js
sanity - Sanity Studio β Rapidly configure content workspaces powered by structured content
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.