REST backend for the basic-invoice application