build and run agora-api