1. Be happy 2. Make money 3. Be promoted
It's not a startup, so you are not trying to be ultra rich. Now, when you complain you are first and foremost making yourself unhappy. That defeats the purpose of working there. First rule is that you be happy. And the best way to be happy is to ignore the bad stuff, focus on the good stuff and work on making everyone else happy.
You guys may be producing terrible code at work, but imagine a workplace where you are producing terrible code, but everyone is laughing and making jokes and so on.
Refocus your energy on making you and everyone around you happy. Forget the technology - let them make the decisions! That's what they are there for! Just focus on making yourself happy and your team members happy.
When everyone is happy, morale goes back up, make your manager part of this pleasant team. When people are laid back and relaxed, they are more likely to do sensible things.
The minute negativity comes into the team, it's all going to go downwards. You dislike your job, everyone gets infected by your dislike, and even if you win the argument, you lose at life.
So, forget the technology and focus on the people.