I'm a developer with 9 years of experience in iOS development, and I've been venturing into web development lately. My current tech stack includes Next.js and Tailwind for the frontend, and Nest.js for the backend. I prefer to keep the frontend and backend separate and not use a full-stack solution in a single framework. I have two main questions for experienced web developers: 1. Is it okay to keep the frontend and backend separate? 2. Would you recommend using Next.js along with Nest.js for someone who's just starting out?
4 Answers
Separating the frontend and backend is a common practice, especially in single-page applications (SPAs). However, if your goal is to learn and understand the web more deeply, it might be beneficial to learn plain JavaScript first. Try building a simple app without any frameworks to grasp the fundamentals better. Once you're comfortable, frameworks like Next.js can be much easier to use. Don't overlook the basics; they will help you a lot in the long run!
I agree, keeping frontend and backend separate is a good approach! It allows for scalability and cleaner architecture. As for Next.js and Nest.js, they can be great once you have the basics down. If you're mainly building MVPs, they might work fine for you, but just be cautious about the hidden complexities they can bring.
Yeah, going with separate systems for the frontend and backend is totally fine! Most serious projects are built this way. As for frameworks, I suggest looking into something like Vue or Svelte alongside Next.js because they can be easier and have great ecosystems. Just remember to consider the type of application you're building — do you need server-side rendering or SEO optimization?
If you're looking for alternatives, you might consider Swift with Vapor for your backend, given your iOS background. It would make the learning curve much smoother for you since you’re already familiar with Swift!

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically