My garden is still producing peppers, tomatoes, eggplant (small because they were late), cukes, lettuce, radishes, kale, arugula and green beans (2nd crop). We finished the pea crop long ago.
At the end of this month it will start to go down.
When I put it to bed, I will pull all plants and put them in the open compost bin. The deer will enjoy some of it and the rest will turn to compost for next year.
I will put down a layer of chopped straw, compost I made this year, seafood compost (I buy it), seaweed (we live near the sea), small amount of lime and peat moss. I have added grass clippings all summer between the rows to keep the weeds down and that will serve for the nitrogen.
All this will be mixed in a bit with the dirt fork. In the spring the whole thing will be turned again before planting.
When I first started doing the garden it was miserable cloggy clay. Now it is beautiful dark soft soil loaded with earthworms.
This has served us well and we eat out of our garden all summer and early fall.