Setup postgres db for API