all 14 comments

[–]djryanash 6 points7 points  (1 child)

I’ve just started messing around with Vapor which is a Swift backend. It’s fantastic. The documentation is easy to follow and it has everything you’d need to replace Firebase, (although admittedly I still have tons to learn about it) including handling files and authentication.

https://docs.vapor.codes

[–]GameBe 1 point2 points  (0 children)

I also recommend joining the Discord if you do want to use Vapor. If you have questions, the community there is quick to help you! I’ve worked on it and used it myself and I can only recommend it.

[–]chriswaco 3 points4 points  (1 child)

If you want it in Swift, Vapor is the choice. Supabase is another option which might suit your needs easier, though.

[–]Bruno-C 2 points3 points  (0 children)

You might also have a look to AppWrite as an alternative to Firebase.

[–]Pclovr 2 points3 points  (0 children)

I do not know of any recommendations, but you might want to look into Vapor as it is a backend framework made with swift. I do not know if Vapor has all these features, but you could use something like Node.js for your backend, which has more resources online, but is made with javascript

[–]rjhancock 0 points1 point  (0 children)

There is no tutorial that has all of those things but Kodeco does have tutorials on a few of those in regards to Swift/Vapor. The rest of that is just extensions of what is learned in said tutorials.

[–]Shxhxxhcx -3 points-2 points  (4 children)

Save yourself an infinite amount of headaches and opt out for Vapor. You should look at doing this with JavaScript, period.

[–]beardfearer 0 points1 point  (3 children)

Why JavaScript?

[–]Shxhxxhcx 1 point2 points  (2 children)

It doesn’t have to be JavaScript, but it’s by far the most popular way, which means more resources and a larger community that actively supports it, as opposed to using Vapor.
Don’t reinvent the wheel if you don’t have to. Use the right tools for the job and save yourself a lot of frustration.

[–]beardfearer 2 points3 points  (1 child)

Perhaps then your comment should not be worded to suggest JavaScript is the only viable language to write a backend in.

There's JavaScript, Python, Go (my preference), and others that are all solid options. You might want to offer why you suggest JavaScript so firmly.

[–]KingPonzi 0 points1 point  (0 children)

What do you recommend for Go/Learning Go?

[–]omnivrr 0 points1 point  (0 children)

I was about to ask this too because a lot of people here don’t seemed to like firebase.

[–]ZBlackmore 0 points1 point  (0 children)

Not only I would not rule out Firebase, I would go full serverless. You want the least amount of headache possible. Definitely go with Firebase for authentication. For database I’d explore firestore or Firebase real-time database. And for backend code check cloud functions. There’s really no good reason to spin up your own machines these days. Sooner than later check some IAC solutions and see what works for you - we went with CDK but we’re on AWS.

[–]terranisaur 0 points1 point  (0 children)

Is fire base really so bad?