Home > Blockchain >  Which database should I use for my Flutter application?
Which database should I use for my Flutter application?

Time:03-21

I am making an application in Flutter, which requires to save the daily data that the users input in the application. The user has 10 daily actions to do.

The app needs to:

  • Save the daily data that the user inputs in those 10 actions.
  • Make a daily, weekly, monthly, quarterly and yearly summary of the data, divided by each action.

At the start of the development of the app I was thinking of using Firebase, but I feel like it is not the best option.

CodePudding user response:

If your app only need to support offline data saving mechanism which not required any internet connectivity then you would use:

  • Hive (It is a no-sql/non-relational local/offline database)
  • Sqflite (It is a sql/relational local/offline database)

Otherwise you can use:

  • Firebase (It is a no-sql/non-relational online database)
  • Parse Server (It is a kind of sql/relational online database)

According to your provided information, I think Firebase (for online db) or Hive (for local db) would be good option.

  • Related