how to pass a key for api call in react js code example Example: command to start api on react npm run api