My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

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