3 ms·
I don't mind using SQL (and I would actually prefer it) but what I want to avoid is having to build an api middleware with auth for my personal projects. Are th
by friedman23 7y ago
I don't mind using SQL (and I would actually prefer it) but what I want to avoid is having to build an api middleware with auth for my personal projects. Are there any alternatives to firebase you would recommend that would allow me to use SQL without having to build out an API?
- crench 7y agoPostgREST does this fairly well.
- elitan 7y agoI was in the exact same position as you one year ago. Then I found Hasura (https://hasura.io https://hasura.io) and built Nhost (https://nhost.io https://nhost.io). While building Nhost I always had Google Firebase in mind regarding how good they are for the developer experience.
- kiwicopple 7y agoI went through the exercise of replaceing our Firebase with Postgres last year. In the process I built a middleware abstraction that I am opensourcing now : https://supabase.io https://supabase.io As a bonus it even has real-time functionality
- gregplaysguitar 7y agoCheck out postgraphile, and graphile starter - https://github.com/graphile/starter https://github.com/graphile/starter Combined with graphql-codegen you can essentially generate react hooks from a Postgres schema. It’s awesome - and all typed if you’re using typescript too
- nicoburns 7y agoMay I ask why? I've always found this to be one of the simplest and least painful parts of any web project. And any 3rd party server has inevitably become a problem when the project grew to the point that we wanted something that they didn't have a solution for.