REST API server for curhat app project