Set api server and run npm in backend