What factors contributed to the rise of fascism in Germany?

What factors contributed to the rise of fascism in Germany?