My take on your situation is how incredibly NORMAL it is. Not that its pleasant to go through, but boy-meets-girl/boy-loses-girl scenarios happen every day to millions of people. Its NORMAL. And when it happens its NORMAL to hurt. And when you hurt its NORMAL (and healthy) to express your feelings to friends who care and support you.
The truth is, life comes around and kicks everybody's asses from time to time. I think you are doing just fine. Give yourself some credit.
Well, I won't back down
No I won't back down
You can stand me up at the gates of hell
But I won't back down.Tom Petty