same tutorial code as rblog, but exposes functionality via api, no front-end