add api resource and city resource