api and server tech
get card from db, separate api urls