setting up common service for api calls in react code example Example: command to start api on react npm run api