step3 db and endpoints