There’s plenty of discussion about getting headless, which suggests making use of Magento to the backend and A different modern day frontend, like Vue or respond, one example is.
You can utilize the bin/mysql script https://bookmarkingbay.com/story17918625/the-definitive-guide-to-magento-host