Part 1 of the this series will focus on the development flow and part 2 will focus on the production flow and will follow shortly.
The Vite documentation has a section specifically for backend integrations.
It’s that information that I used as a starting point. Inside your FE module of your AEM project you should add the following scripts to the package.json, for now we will only focus on the dev command.