This might sound weird, but now is the time to tell yourself that you love yourself no matter WHAT. If you can say it out loud, even better (as whacko as you feel saying it.) Don't punish yourself, your emotions have already done that, but listen to your body all day. Really carefully. Eat again when you are actually hungry, and stop eating when you are starting to get full.
I have a three-year-old, and have watched the way I treat her. I love her with all of my heart, and want her to be healthy, so I make sure she has healthy choices most of the time and allow her to eat treats every once in a while. If I see her pigging out at Grandpa and Grandma's, I stop her but I don't starve her for the rest of the day.
It can be difficult to truly *love* myself like I love my daughter, but at least I try to *act* as though I love me like that

.
You've made a lot of progress already. Stand up, dust yourself off and keep walking.