Hacker News new | ask | show | jobs
by Rauchg 894 days ago
I just had a great experience building with Drizzle ORM and NextAuth, not sure if this is helpful:

https://github.com/rauchg/next-ai-news

(This is with Next.js 14 App Router and Server Actions)

Can you tell me more about the pains you're seeing?

1 comments

it's pretty hard to build a CRUD application (handle authentication, then build an API, then implement authorization, then implement the UI to allow the user to edit only what he/she has access, etc )

In Django it's pretty simple, you define a model, write a bit of logic to give permissions to users to edit it and that's it. (it would have been awesome if this Django concept can be used for building frontend apps easier).