© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•8mo ago•
4 replies
oz

supabase trpc and db tables setup question

I'm working on a full stack react assessment.

The project requirements specify:

- Frontend: React 18+, TypeScript, Tailwind CSS
- Backend: tRPC, PostgreSQL or Supabase

Additional requirements include input validation, type-safe API routes, error handling, etc.
I'm considering using Supabase-only (auth + database + real-time updates) and skipping tRPC altogether — since the spec seems to treat them as mutually exclusive.
That said, I know that Supabase doesn't have tRPC-style routing out of the box, but:
- The Supabase client SDK gives me types
- I can do input validation with Zod or custom logic in the frontend

Would using Supabase directly (via the JS client) be considered acceptable here? Or do people typically combine Supabase with tRPC for more control?
And for db tables, what's the best way to define tables in this case? Since there’s no backend/ORM layer , should I just create the tables directly in the Supabase UI (or via SQL in the SQL Editor)? Or is there a way I should still define them in code and do migrations?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Coolify supabase setup db error
SupabaseSSupabase / help-and-questions
2mo ago
Recommendation for Supabase DB branching & Vercel setup
SupabaseSSupabase / help-and-questions
5mo ago
Supabase-DB Backup and Restore
SupabaseSSupabase / help-and-questions
8mo ago
Migration issue with supabase db diff for partition tables
SupabaseSSupabase / help-and-questions
15mo ago