I don’t know what to do

I’ve been living with my boyfriend for almost a year now, and honestly he’s all I have. I depend on him for the things I need because I have absolutely nothing. I can’t get a job, I don’t have money, friends, not even family to turn to. Recently his been showing his true colors, and he hit me. I can’t leave because if I do then I’ll be sleeping on the streets. Does anyone have any advice for me?