Skip to content

Flutter Backend Driven UI Project using Firebase Firestore and Dynamic Widget

Notifications You must be signed in to change notification settings

LuisMiguelMP/flutter_backend_driven_ui

Repository files navigation

Dynamic App

Flutter Backend Driven UI Project, using Dynamic Widget and Firebase Firestore to "hot reload" the application when cloud database updated.

Getting Started

This project is using:

Configuration

To run this project you'll need to:

  • Update the 'android/app/google-services.json' with the firebase generated file; - Import the 'GoogleService-Info.plist' to the iOS project;
  • Replace the 'web/index.html' firebaseConfig var (line 37) with your generated config.
  • Create the Firestore structure: "pages" collection >> "home" document >> "widgets" field as string, with 'example_backend_code.json' content as value. You can check the expected structure with the 'firestore_database_structure.png' file, attached at this project.

Building the UI

You can easily check the available widgets json structure at the 'lib/src/common/constants/widget_example_constants.dart' file. Also, it's recommended to check the dynamic_widget example project. Remember to update the 'pubspec.yaml' with the last version of dynamic_widget to get the newest widget structures, always reading the lib documentations and checking possible conflicts.

If you want to learn Flutter:

About

Flutter Backend Driven UI Project using Firebase Firestore and Dynamic Widget

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published