Backbase Interview Question

Design an API to read and write an a DB