@peterfriese Do you have some comparison information of Vapor / Swift on Server vs Firebase? Does it even make sense to perform a comparison, are the two platforns competitors in the same domain?

@pietsous it really depends on what you want to do. Firebase is a BaaS with 20+ different services you can tap into. You can use Cloud Functions for Firebase (we support JS/TS, and Python at the moment) to build serverless backends for your app(s) that use those services. Vapor is a framework for building servers, backends, and APIs - not a platform.

Can you provide more context on what you’re looking to achieve?

@peterfriese I was listening to a talk at NSSpain about Vapor. Wondered if having a Vapor app for a small dataset driving a webpage and app is simpler than Firebase. I think for my use case it might not really matter much. Firebase likely has tons that simplify getting started.

@pietsous Depends on whether you want to write the web app in Swift or not. If writing in JS/TS is OK, then with Firebase, you would simply store the data in Firestore, and read it with a few lines of code:

https://firebase.google.com/docs/firestore/query-data/get-data#get_a_document

Get data with Cloud Firestore  |  Firebase

Firebase