There is no nifty command for it in mern-cli, however to exclude Mongo from it you need to identify the parts that involve mongo. You will need to change models, controllers, routes and change server.js to whatever database that you need to use or simply remove them if you are using some API.
ok @prank7. But it raised a warning. > [Error] Server-side React render was discarded. Make sure that your initial render does not contain any client-side code.
Prashant Abhishek
Co-founder at AltCampus
Well, MERN will not be MERN without Mongo. 😊
There is no nifty command for it in mern-cli, however to exclude Mongo from it you need to identify the parts that involve mongo. You will need to change models, controllers, routes and change server.js to whatever database that you need to use or simply remove them if you are using some API.