How to Change Angular Dart Tour of Heroes to Firebase Backend


I am using the Angular Dart Tour of Heroes sample project (Here) for a project I’m working on to learn the platform. What is required to change to Firebase Backend instead of feeding data from the in_memory_data_service.dart ?

I think that the HeroService needs to be converted to pull from FireBase, but can’t quite figure it out. Spent several days working through it with no success.

Didn’t add the code because it’s so much, but I can if it helps.


I was able to solve this another way. The Tour of Heroes HeroService was dependent on the mockData.

I was able to simple initialize the app and pull the data from FireBase in the appComponent.

Answered By – W P

Answer Checked By – Timothy Miller (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *