Promise-based webserver