I'm working on a frontend project that communicates with a backend server, and I'm using IntelliJ. My backend is built with Spring, while my frontend is in vanilla JS. Do I need to run two separate instances of IntelliJ—one for the backend server and another for the frontend? Or is there a better way to set this up?
3 Answers
I usually stick to one instance of IntelliJ but manage multiple projects by opening the root folder and adding the backend and frontend as modules. So, I start with a structure like this: my-project/ with separate folders for frontend and backend. You can check out how to set it up in IntelliJ's guide on multi-module projects!
Yeah, generally, you either run two instances of your IDE or at least have two terminal tabs open for each part.
It really depends on how your project is set up. In my experience, I work with a .NET Core backend and a single-page app for the frontend, and I can start both servers from just one IDE instance.

This is a game changer! I was bouncing between Sublime for random sites and VSCodium for my plugin work. Thanks for the tip!