Need advice about which tool to choose?Ask the StackShare community!

FeathersJS

163
342
+ 1
70
Firebase

40.2K
34.5K
+ 1
2K
Add tool

FeathersJS vs Firebase: What are the differences?

Introduction

FeathersJS and Firebase are both popular backend frameworks for web and mobile applications. While they have some similarities, there are key differences that set them apart. Below are six specific differences between FeathersJS and Firebase.

  1. Database Support: FeathersJS provides support for multiple databases, including SQL, NoSQL, and in-memory databases. This allows developers to choose the database that best fits their project requirements. On the other hand, Firebase is tightly integrated with Google Cloud Firestore, a NoSQL database, and does not offer the flexibility to switch to other databases easily.

  2. Real-time Capabilities: FeathersJS is built upon real-time technologies like WebSockets and offers built-in support for real-time data synchronization. Developers can easily implement real-time features such as real-time chat, live-updating dashboards, and collaborative editing. Firebase, on the other hand, offers a more extensive real-time feature set, providing real-time data synchronization out-of-the-box with minimal effort.

  3. Authentication and Authorization: FeathersJS provides a flexible authentication and authorization system where developers can choose from various strategies such as OAuth, JWT, or local authentication. It also allows developers to define fine-grained access control rules. Firebase offers a similar authentication system but includes additional features like social logins, SMS authentication, and user management that are built into the platform.

  4. Server Environment: FeathersJS is built to run on any web server environment, including popular options like Express, Hapi, or Koa. This allows developers to have more control over their server setup and configuration. In contrast, Firebase is hosted and managed entirely by Google, and developers do not have control over the server environment.

  5. Querying and Filtering: FeathersJS provides a powerful querying and filtering syntax that allows developers to perform complex database queries and filtering on the server-side. This can be useful for optimizing queries and reducing bandwidth usage. Firebase offers a simpler querying syntax compared to FeathersJS, which may not be as flexible for complex database operations.

  6. Deployment Options: FeathersJS allows developers to deploy their applications to any hosting provider or cloud platform. It provides flexibility in choosing the deployment strategy and infrastructure. Firebase, on the other hand, offers a seamless deployment experience through Firebase Hosting and integrates well with other Google Cloud services.

In summary, FeathersJS provides flexibility in terms of database support, server environment, and deployment options, while Firebase offers a more integrated and feature-rich real-time platform with additional authentication options and a simpler deployment process. The choice between FeathersJS and Firebase depends on the specific requirements of the project and the trade-offs developers are willing to make.

Advice on FeathersJS and Firebase
Needs advice
on
ApolloApolloFirebaseFirebase
and
Socket.IOSocket.IO

We are starting to work on a web-based platform aiming to connect artists (clients) and professional freelancers (service providers). In-app, timeline-based, real-time communication between users (& storing it), file transfers, and push notifications are essential core features. We are considering using Node.js, ExpressJS, React, MongoDB stack with Socket.IO & Apollo, or maybe using Real-Time Database and functionalities of Firebase.

See more
Replies (3)
Timothy Malstead
Junior Full Stack Developer at Freelance · | 7 upvotes · 467.6K views
Recommends
on
FirebaseFirebase

I would recommend looking hard into Firebase for this project, especially if you do not have dedicated full-stack or backend members on your team.

The real time database, as you mentioned, is a great option, but I would also look into Firestore. Similar to RTDB, it adds more functions and some cool methods as well. Also, another great thing about Firebase is you have easy access to storage and dead simple auth as well.

Node.js Express MongoDB Socket.IO and Apollo are great technologies as well, and may be the better option if you do not wish to cede as much control to third parties in your application.

Overall, I say if you wish to focus more time developing your React application instead of other parts of your stack, Firebase is a great way to do that.

See more
Recommends
on
AblyAbly

Hello Noam 👋,

I suggest taking a look at Ably, it has all the realtime features you need and the platform is designed to guarantee critical functionality at scale.

Here is an in depth comparison between Ably and Firebase

See more
Recommends
on
8base8base

Hey Noam,

I would recommend you to take a look into 8base. It has features you've requested, also relation database and GraphQL API which will help you to develop rapidly.

Thanks, Ilya

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of FeathersJS
Pros of Firebase
  • 12
    Real-time
  • 7
    Choose any ORM
  • 7
    Datastore Agnostic
  • 6
    Flexible Plugins
  • 5
    Choose Socketio or Primus
  • 4
    Easy Rest
  • 4
    Isomorphic Services API
  • 4
    Open source
  • 3
    Scalable
  • 3
    Easy to use with Graphql
  • 3
    Documentation
  • 3
    Service-oriented architecture
  • 3
    Data-driven APIs
  • 3
    Uses express, will support other options soon
  • 3
    Advanced Composable Service Middleware called holds
  • 371
    Realtime backend made easy
  • 270
    Fast and responsive
  • 242
    Easy setup
  • 215
    Real-time
  • 191
    JSON
  • 134
    Free
  • 128
    Backed by google
  • 83
    Angular adaptor
  • 68
    Reliable
  • 36
    Great customer support
  • 32
    Great documentation
  • 25
    Real-time synchronization
  • 21
    Mobile friendly
  • 18
    Rapid prototyping
  • 14
    Great security
  • 12
    Automatic scaling
  • 11
    Freakingly awesome
  • 8
    Chat
  • 8
    Angularfire is an amazing addition!
  • 8
    Super fast development
  • 6
    Built in user auth/oauth
  • 6
    Firebase hosting
  • 6
    Ios adaptor
  • 6
    Awesome next-gen backend
  • 4
    Speed of light
  • 4
    Very easy to use
  • 3
    Great
  • 3
    It's made development super fast
  • 3
    Brilliant for startups
  • 2
    Free hosting
  • 2
    Cloud functions
  • 2
    JS Offline and Sync suport
  • 2
    Low battery consumption
  • 2
    .net
  • 2
    The concurrent updates create a great experience
  • 2
    Push notification
  • 2
    I can quickly create static web apps with no backend
  • 2
    Great all-round functionality
  • 2
    Free authentication solution
  • 1
    Easy Reactjs integration
  • 1
    Google's support
  • 1
    Free SSL
  • 1
    CDN & cache out of the box
  • 1
    Easy to use
  • 1
    Large
  • 1
    Faster workflow
  • 1
    Serverless
  • 1
    Good Free Limits
  • 1
    Simple and easy

Sign up to add or upvote prosMake informed product decisions

Cons of FeathersJS
Cons of Firebase
    Be the first to leave a con
    • 31
      Can become expensive
    • 16
      No open source, you depend on external company
    • 15
      Scalability is not infinite
    • 9
      Not Flexible Enough
    • 7
      Cant filter queries
    • 3
      Very unstable server
    • 3
      No Relational Data
    • 2
      Too many errors
    • 2
      No offline sync

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is FeathersJS?

    Feathers is a real-time, micro-service web framework for NodeJS that gives you control over your data via RESTful resources, sockets and flexible plug-ins.

    What is Firebase?

    Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.

    Need advice about which tool to choose?Ask the StackShare community!

    Jobs that mention FeathersJS and Firebase as a desired skillset
    What companies use FeathersJS?
    What companies use Firebase?
    See which teams inside your own company are using FeathersJS or Firebase.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with FeathersJS?
    What tools integrate with Firebase?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    GitNode.jsFirebase+5
    7
    2362
    What are some alternatives to FeathersJS and Firebase?
    Sails.js
    Sails is designed to mimic the MVC pattern of frameworks like Ruby on Rails, but with support for the requirements of modern apps: data-driven APIs with scalable, service-oriented architecture.
    Meteor
    A Meteor application is a mix of JavaScript that runs inside a client web browser, JavaScript that runs on the Meteor server inside a Node.js container, and all the supporting HTML fragments, CSS rules, and static assets.
    LoopBack
    A highly-extensible, open-source Node.js framework that enables you to create dynamic end-to-end REST APIs with little or no coding. Connect to multiple data sources, write business logic in Node.js, glue on top of your existing services and data, connect using JS, iOS & Android SDKs.
    AdonisJS
    It is a Node.js Framework which is highly focused on developer ergonomics, stability and confidence.
    NestJS
    Nest is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with TypeScript (preserves compatibility with pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming). Under the hood, Nest makes use of Express, but also, provides compatibility with a wide range of other libraries, like e.g. Fastify, allowing for easy use of the myriad third-party plugins which are available.
    See all alternatives