want to look into mongoose, draft server side api