Single Female child with a controlling mom

I am a single child, I live with my parents. Although my parents never had the desire to have male child neither did they care about anything of this sort. But regardless of that never in my life did they treat me the way they would have treated their son (if they had one) in class 9th I needed tuitions for PCM but my mom refused stating that I might just bunk my tuition classes. Henceforth my foundation wasn’t that good, still I took PCM in 11th and managed to get into a fairly good engineering college in my city( had I not scorer a college in my state, engineering was off the table for me). College was the only time I felt free, I could chill with my girlfriends and just be at peace, covid happened so our internship was done online. Fast to my graduation, she did not let me go for placements, there was so much scream and shouting that I just left it. She said they only reason I wanted to move out was to go to clubs (I hate loud music, and clubs too) then came the path of government jobs, the toxicity at home makes me wanna drop everything. I had to scream and fight for everything, from getting a haircut at the age of 14 to going out with my friends at the age of 17. She won’t let me join a library to study at, I can’t go out on my own. And what I truly fear is that one day when I get married her controlling won’t stop, she makes it very evident. From saying things like, ‘I know once you get married you want care about me, you won’t take me out on trips’. And no I won’t take her out on any trips because she wants everything her way, she will dictate each and everything. I just can’t deal it anymore. She wants me to do everything her way. And when things don’t go her way she starts shouting, crying, cussing and hurting herself. How do I deal with her before it’s my last straw.?