I really relate to this,I remember back when I was in college doing our thesis (we have to create/program our own school system. My group mates didn't even bother helping, they're stuck playing games, and doing their own world.
We have our work evenly divided. I'm the programmer. Our team clearly slow in progressing. So in the end I tried doing the documentation, design and programming. I even work as the one who interview the school that's obviously not my work. I tried so hard to finish the job
And wtf did I received? Nothing but backstab, they throw me out of the bus. One student from my team is quite close to our teacher (and he didn't even done anything). There's a survey at the end of it.
I didn't pass but they're pass. Like wtf did I done? I worked so hard to let someone else gets the credit
After this I suffered from depression, drop out from school. It took 2 1/2 year before I get healed. Enrolled in different school, now I'm working happily in an IT company.