Government lends you up to ~880€ a month interest free if your parents earn less than 35k€ and gradually less until 75k€ parent household income. After university you have 5 years time until loan payments starts. Total payback is capped at 10k even if you have received more than that. If you can pay it back in full with one payment you only pay ~7.3k.
With that money people are usually able to get an apartment or at least a room in a shared apartment and pay for food and books.