update the url pattern to get food. update transaction model.

update the url pattern to get food.
update transaction model.
create some script for test purpose