chen-rn / CUA

(no longer maintained) create-universal-app(CUA) is an opinionated template for creating fullstack universal apps (Expo, Next, tRPC, Prisma, Clerk, Solito, Tamagui)

Home Page:https://cua-demo.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] Support drizzle-orm?

tonyabracadabra opened this issue · comments

I implemented Drizzle in in my Tamagui template: https://github.com/timothymiller/t4-app You can use it as a reference implementation.

Generate a new project like this: yarn create t4-app

I implemented Drizzle in in my Tamagui template: https://github.com/timothymiller/t4-app You can use it as a reference implementation.

Generate a new project like this: yarn create t4-app

thanks I will check that out!

commented

Happy to review a PR if anyone want to integrate Drizzle!
Seems like the right move

I started the implemetation over on the drizzle branch. @timothymiller @tonyabracadabra @chen-rn Please take a look at it and feel free to contribute since I'm not so sure of what we have to add other than my changes.

@timothymiller @tonyabracadabra @chen-rn Now is also available the drizzle sql branch that allows for simple local dev environment creation as it is in the prisma+sqlite version.

commented

Looks great! Appreciate the good work :)

With the latest commit the command line tool also supports the --with-drizzle-pg and --with-drizzle-sql flags to clone the corresponding branches.

If you encounter some problems in my implementation please open a new bug issue as the drizzle feature request is completed.