Depression doesn't go away on its own, it's a physical condition as well as mental. You haven't stated whether you still suffer from the effects. I was told to give my mind a break until my serotonin levels returned to normal—this required medication prescribed by a physician. Serotonin and other chemicals that control your internal messaging system need to be balanced to work well. Heal your brain and body then critique your work. You're also likely to hate your cooking, sex, body, face, everything if depressed.
So write, don't read it. Save reading and editing until you're ready to face your work. Every book or story or poem can start off like trash, editing makes it better.