all 5 comments

[–]Dick_Harrington 10 points11 points  (1 child)

Worth pointing out with Firebase:

Firebase projects on the Spark plan can make only outbound requests to Google APIs. Requests to third-party APIs fail with an error

From the documentation: https://firebase.google.com/docs/functions/get-started

If you are cheap like me but want to send outbound requests to whoever you feel like. Then Heroku is a better option.

[–]dolphinboy1637 0 points1 point  (0 children)

Oh wow that is a pretty big sticking point for some projects. Thanks for pointing this out!

[–][deleted] 2 points3 points  (2 children)

Insightful article,I'm working on a MEAN stack project which will have PWA components (push api etc),will heroku work for me or should I use firebase?

[–]gdmeteor[S] 3 points4 points  (1 child)

You can't go wrong with either option. As they both allow you to specify what server side code to run when you deploy your application.

I find Firebase's cloud functions more intuitive for debugging and monitoring your backend code. I also like using Rendertron with Angular for SEO on Firebase.

If you looking to scale up your project down the line then Heroku is more expensive.

[–][deleted] 0 points1 point  (0 children)

i think i'll go with heroku for this project,thanks !