firelamp 0.0.2 copy "firelamp: ^0.0.2" to clipboard
firelamp: ^0.0.2 copied to clipboard

discontinued
outdated

A flutter package to support CMS(Content Management System) functionalities like user management, forum management, and more for building apps like social apps, shopping apps.

FireLamp #

A flutter package to support CMS(Content Management System) functionalities like user management, forum management, and more for building apps like social apps, shopping apps.

It is based on Firebase and LAMP stack.

A story #

We have been working on a flutter package to support the basic functionalities that every app needs.

We first worked on Firebase with LAMP(or LEMP) stack for a while and we decided to remove LAMP stack since it is a hassle to maintain two stacks.

After a couple of months, we had successfully built the first version of flutter package without LAMP stack named fireflutter. But we were not satisfied with the complex query on firestore. Then, without hesitate, we went back to LAMP stack with Firebase.

And here it is, FireLamp.

Reference #

LAMP stack on Wordpress #

  • We have built the backend on Wordpress.

Installation #

  • Add latest version into pubspec.yaml

Configuration #

  • When app starts(and running), the instance of Api is already available as global variable named api. This is because data models(like ApiUser) shares the global instance.

Put WithcenterApi instance as GetX controller #

  • Put the instance as GetX controller as early as possible on the app start-up like below. Root screen page would be a good place.
final Api a = Get.put(api);
  • Then, intialize Api like below. apiUrl is the backend api url.
print('api: $api');
api.init(apiUrl: apiUrl);
api.version().then((res) => print('api.version(): $res'));
2
likes
0
pub points
0%
popularity

Publisher

verified publishersonub.com

A flutter package to support CMS(Content Management System) functionalities like user management, forum management, and more for building apps like social apps, shopping apps.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

age, dio, firebase_core, firebase_database, flutter, get, get_storage, location, rxdart, scrollable_positioned_list

More

Packages that depend on firelamp