Yes, you need a zoning permit and a building permit if the deck or porch is roofed and or thirty inches above finished grade.