It is better to write isomorphic project, as there are many nuances to consider when developing such applications. On github
you can find ready boilerplate. Writing your can take from couple hours to couple days depending on the required set of tools. As you can see in such tools as next.js
. But I do not know how easy it is, if necessary, to migrate from such decisions.