Absolutely do not accept this behavior. People who love each other don’t threaten, hit, do name-calling and refuse to take responsibility for their own behavior. Your boyfriend is showing the signs typical of a potential physical abuser- – engaging in a cycle of abuse, sweetness, abuse. He’s already hit you. Since he sees nothing wrong with it, chances are it will only get worse.
Despite your observation of your mother’s behavior, all men are not like this. I imagine that you’ve accepted the mistreatment because you got used to the idea that this is “normal” from watching your parents’ interactions. It’s not normal. It’s not usual. It’s not okay. Get out and make yourself available for a man who is consistently warm and loving and who treats you with respect and tenderness.
I wish you well.