Pre flop is fine.Now on the flop, both call and raise are equally fine.
If you call (as you did), you are letting pre flop aggressor the chance to barrel it on the turn, and also you are giving good odds for the BB to call and see the turn. Consider that player on the BB has a huge range of hands there, so he can have any Ax and most of the fours (like 54, 64 both suited and not), which he would (or should) fold to a 3bet on the flop.
On the other hand, if you raise, it is more likely that both your opponents will fold, in which case you actually lose a lot of value imo.
As played, on the turn it is imperative to raise, however, I would suggest a bigger raise, yours was less then 1/2 pot, and I would make it around 2/3 of the pot.
I like the river, many players tend to shove in your spot, but call is very good because several draws got there like AK, 89spades, also most of the queen hands that BB can have, made a boat like QT, QJ, not to mention the slow played TT or JJ. Also, his play really looked like trapping especially once he had bet the river (it really looks like someone who made a hand, and doesn't want to lose value by checking), so I guessed he had a Q (personally thought he had an AQ), but would still call like you did.
I would like to add one thing: if villain had checked the river, I would suggest checking behind. If you were to raise, you would only get called/re-raised with hands better then yours while other hands would most likely just fold, so no need to risk it. You would have showdown value so use it.
P.S. welcome to CC and gl at the tables