0

With all the promise of cloud firestore, I would like to know if it’s appropriate for an ecommerce app. A kind of social marketplace application. Thanks a lot.

LComingHome
  • 91
  • 2
  • 8

2 Answers2

2

From my point of view, Firestore will be a perfect fit for an e-commerce app. Main features of firestore that help in e-commerce:

1. Real-time sync

All the changes that made in the app will be reflected instantly on all the devices. So updating details of a product will be very efficient.

2. Complete offline support

One of the important features of an e-commerce app is, it should be functional offline, and firestore provides us this feature without the need of any extra coding

3. NoSQL DB and querying

Managing DB and writing and reading from it, is very easy, and also firestore supports chain filters and combine filtering and sorting on a property in a single query.

4. Cloud function support

This is a cool feature and it will be very useful for sending notification etc according to user behaviors.

5. Android, IOS and Web support

Firestore have support in android, ios and web.

You can reduce development time drastically if you use firestore.

These are all the advantages that I can come up with. Now there are some small disadvantages, which is searching through firestore and the query limitation on inequality.

It is specified in there documentation: "Cloud Firestore doesn't support native indexing or search for text fields in documents.". But they also mentioned a solution to use third-party search service like Algolia.

I will not say go for firestore blindly. Carefully compare it with other alternatives too.

Jerin A Mathews
  • 8,572
  • 4
  • 26
  • 49
0

AFAIK it doesn't suit you right now.

I have tried to create a simple Questionary App (MCQ Quiz of different subject). A question have an array of Tags(Subject). If I like to show the question related to mathematics and physics it doesn't provide me. I have to call service for each subject and remove the common one.

It doesn't support database in function

It doesn't have OR operation (Can't use multiple where )

And a lot more basic function.

According to no SQL ranking it comes to 7 number where as mongoDB is number 1.

Zar E Ahmer
  • 33,936
  • 20
  • 234
  • 300