OmegaHawkeye / kirimase

Build full-stack Next.js apps, incredibly fast
https://kirimase.dev
MIT License
7 stars 1 forks source link

Add Support for supabase #52

Open OmegaHawkeye opened 4 months ago

OmegaHawkeye commented 4 months ago

From kirimase created by electroheadfx: nicoalbanese/kirimase#49

it would like nice: https://supabase.com

OmegaHawkeye commented 4 months ago

hmm looks I can connect drizzle to supabase: https://orm.drizzle.team/docs/quick-postgresql/supabase so it should be seamless, anyone tested it ?

OmegaHawkeye commented 4 months ago

@electroheadfx i did, seems to be working nicely but keep in mind it's my first time working with supabase it would be extra nice tying in supabase auth to have a single solution for both database and auth...

OmegaHawkeye commented 4 months ago

Here is the Next.js Supabase starter, the latest way of implementing the Supabase Auth:

https://github.com/vercel/next.js/tree/canary/examples/with-supabase

OmegaHawkeye commented 4 months ago

Hey, really love the project. I wanted to ask if it is okay if I work on adding Supabase as an Auth Provider and make a PR for it?

OmegaHawkeye commented 4 months ago

Installing Supabase CLI and running it locally in Docker produces the following

DATABASE_URL="postgresql://postgres:postgres@127.0.0.1:54322/postgres"

Different from the Kirimase default:

DATABASE_URL="postgres://postgres:postgres@localhost:5432/{DB_NAME}"
flipvh commented 4 months ago

Hi @OmegaHawkeye , seems you are planning to dedicate some time into this! 🚀 . I just followed you on Twitter, perhaps we can connect with a DM? I am actively looking for people that are enthusiastic about a CLI tool for quickly building a template such as kirimase. The stack/template we are working on doesn't use NextJS and we focus on a 'single stack' to focus on in-depth development, have a look here: https://github.com/cellajs/cella, but I am looking for contributors that are interested in this for a paid OS project. The goal is that cella, similar to kirimase, also has a way to quickly set up a new set of endpoints and to quickly regenerate a new project, perhaps using a template from an earlier project, using just CLI magic. Cheers flip