Choosing Between Spring Boot and Supabase for Web Development

0
1
Asked By TechNinja42 On

Hey everyone! I'm diving into web development using Spring Boot and SQL, and I could use some guidance. Should I stick with Spring Boot for backend development, or consider switching to Supabase?

Currently, I'm using a local database for my SQL projects. Does that setup mean it only works on my device, or can it be configured for others to access as well?

I'm also unsure how to manage multiple user accounts for a chat application. I've heard conflicting advice about mastering JWT and sessions versus other solutions. I want to create a site similar to Twitter, where users can sign up, post updates, and message each other. How can I achieve this using SQL with Spring Boot or Supabase?

On the hosting front, what's the best way to host a full-stack application that includes frontend, backend, and a database? I've only hosted static sites using Vercel. Do I need to learn AWS, or is it enough to have a solid backend to support multiple users?

Lastly, I'm looking for a step-by-step approach to develop, deploy, and run this full-stack website across different devices. Any advice would be really helpful!

3 Answers

Answered By NerdyDev101 On

If you're just getting started, it might not be necessary to learn AWS right away. A good option for hosting that integrates with your front and back end is Vercel if you're using Next.js. Plus, Firebase Authentication is a great choice to simplify user management and scaling issues without getting too technical. You can always dive deeper into load balancing and other networking topics later!

Answered By DevExplorer99 On

Your questions are definitely valid, and it’s great that you want to learn! Basically, Spring Boot and Supabase serve different purposes. Spring Boot is a powerful framework for building custom backends in Java, while Supabase is a pre-built backend service that uses Postgres. You could use them together, with your business logic in Spring Boot and user management in Supabase.

For managing multiple users, look into authentication and authorization basics. You want to know how to verify user identities and what access they have. Also, you don’t have to use AWS; a simpler option is a cheap VPS like DigitalOcean to host your app. Start with a basic version of your site before gradually adding complexity!

LearningCurious -

Thanks for the clarification! I feel a bit more confident about where to start now.

Answered By CodeCoach77 On

Don't worry about the harsh replies; starting out can be confusing! To summarize, Spring Boot and Supabase fulfill different needs—one helps you build your app's backend in Java, while the other provides a hosted database solution.

For multi-user systems, you absolutely need a server-based database since local ones are for development only. Supabase makes it easy to handle user authentication too, which is crucial for creating unique accounts. If you're already comfortable with JavaScript, consider Next.js and using Supabase as your database to speed things up.

TechNinja42 -

I really appreciate the help! I'll explore Next.js next.

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.