If you want to serve data from a different server, you can just change the base url. This can be done by passing env variable BASE_URL while starting the server. Take a look at this line.
thanks Sandeep, specially for the promptness! So am i right in also assuming then that all the server side code - controllers, models, routes, tests folders as well as the config.js would sit on a different code base as opp to this kit? so we'd be left with only the server.js ( minus the mongoose stuff ) and the fetchData.js under utils right? so a very light weight server
@sudb Yes, if you are using an external API you won't need all that. However, MERN is a full stack solution and thus we have controllers, routes, models etc there.
awesome! now i like it even more .. :) thanks Sandeep. Yes, I agree on the full stack part that you would need it if all was on the same server.. Kudos on the stack.. it's pretty awesome and simple enough that one can actually get to using it !