Hacker News new | ask | show | jobs
by mmanfrin 478 days ago
Does Phoenix have auth? Any reason you chose supa over phoenix? And do you store user info (reviews+stuff) in phoenix and just reference it with the supa uuids or do you store user generated info on their own in supa?
1 comments

Phoenix doesn’t have built-in auth, and setting it up with Guardian (the JWT library for Elixir) took too much time. Since we were already using Supabase for Postgres, we decided to go with its auth to move faster. Supabase provides a UUID after authentication, which we then use throughout the rest of the database.