Hey Indie Hackers! Hasura and Supabase can get you up and running in no time. Its utility is massive. Given the time for manual repetitive code is over, I am sure we could benefit from multiple vendors of Backend-as-a-Service providers.
Supabase being the complete product, doesn't have GraphQL (yet!). I wish to build a competitor to Supabase with the following tech-stack:
- Custom Go server on a fork of https://github.com/rqlite/rqlite or https://github.com/canonical/go-dqlite that serves a GraphQL API in place of REST. JWT authentication for Role based database access.
- Authentication is baked in the above Go server itself. This reduces the need to run multiple servers. The Go server will act as a Database as well as Auth server for App backends.
- MinIO based file storage functionality.
- Deno based Edge functions with direct SQL query access to the rqlite database (JWT based auth enabled of course). https://github.com/openfaas/faasd based FaaS engine for other languages. (Slow runtime)
- GraphQL subscriptions like Hasura.
- Static File / Public File hosting using https://github.com/svenstaro/miniserve/
- Client Libraries for all the platforms and languages (Any GraphQL library will do the trick)
- Optional REST API on top of the GraphQL API (future)
Why SQLite? Its fast: https://www.sqlite.org/speed.html. Not just that. A custom backup system can be put in place with the MinIO storage. SQL replication will be easy.
I know this is a huge task. But if we pull this off, I am sure it could generate a huge amount of funding and revenue.
If anyone is remotely interested in investing a year of his/her time, please contact me or comment below. (himu@tuta.io)
https://supabase.com/blog/2022/03/29/graphql-now-available
"Authentication is baked in the above Go server itself." will you be creating the package or using open source?
Hi, Himujjal. XR here from Blockchain Founders Fund. We're a VC specialising in blockchain/web3.0 investments, and I'm keen to learn more about your projects. If you could fill in some information about your company here https://investment.blockchainff.com/vip/xianrong we can have a discussion!
Tapflow can be your dev partner