Deploy api to server