Sign in
Log inSign up

Best Rest-API framework for NodeJS. Confused on choosing FeathersJS vs LoopBack

Gijo Varghese's photo
Gijo Varghese
·Aug 20, 2018

I've already built my application using Apollo GraphQL (with subscriptions) and Sequelize. However, Apollo GraphQL is very unstable, no proper authentication/authorization techniques. I'm planning to use old school Rest based APIs and Socket IO.

However, I'm confused on choosing FeathersJS and Loopback. Both are top frameworks for building rest API.

Feathers

Official site | GitHub

Pros

  • Support many ORMs (In my case it already support Sequelize)
  • Great support for real-time events and SocketIO
  • Highly customizable
  • Supports multiple means of transport like HTTP, WebSockets etc
  • Awesome docs
  • Partial support for GraphQL using feathers-plus

Cons

  • No auto generating docs
  • No Authorization/ACL modules

Loopback

Official site | GitHub

Pros

  • Comes with inbuilt ACL generator
  • Automatically build docs, using Swagger

Cons

  • Poor docs
  • No support for external ORMs, need to use Juggler
Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct