The further I go in my career the more I feel like the frontend and the backend should be two separate things. I'll usually spin up a rails --api app and a vite/TS/react client. I'm probably wrong for this ¯\_(ツ)_/¯