Implement backend REST service.