Seeking Guidance for My Supabase and Next.js Marketplace Project

0
4
Asked By CuriousCat42 On

Hi everyone! I'm working on a full-stack project that uses Next.js with the App Router and Supabase for the backend. It's a two-sided marketplace aimed at booking commercial kitchens, similar to Airbnb but for culinary spaces.

Right now, I'm facing some challenges, particularly with final UI polish, real-time messaging between kitchen owners and operators, and a notification system for bookings and insurance updates. Additionally, I'm concerned about making sure my database structure and role protection are scalable.

I sometimes feel like I might have over-engineered or under-engineered some parts of my stack, and I want it to feel professional and production-ready, especially since I'm doing this solo.

I'm looking for any advice on:
- Things I should consider refactoring or restructuring
- Better approaches for handling user roles in Supabase
- Feedback on whether my tech stack is appropriate for an MVP
- Any suggestions that might improve the overall project

If anyone is willing to review parts of my repo or code, I'd greatly appreciate it! Thanks in advance!

2 Answers

Answered By DevDude99 On

Just so you know, Supabase mainly handles the database side. Are you utilizing Next.js API routes for your backend functions? It’s serverless, which is great, but you might find real-time features are better supported with a dedicated backend through websockets or server-side events. If you hit limits with Vercel, you might also consider using a real server hosting service like Express or NestJS, especially if you want to stick with TypeScript. Just a thought!

NewbieNerd88 -

Totally! Pusher is worth checking out for real-time features too, and can integrate well with Supabase.

ExpertExplorer -

And if your Next.js setup isn’t serverless, just remember it can still support websockets for real-time stuff!

Answered By CodeCraftMaster On

That sounds like an awesome project! For real-time messaging, you can definitely leverage Supabase's Realtime feature without needing to set up a separate socket.io backend. It's quite straightforward. You can use it for notifications too. Just make sure to delve into the Supabase documentation for a clear understanding of implementation—it's all there! Good luck with everything! 😊

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.