This story deals with belonging, identity, bullying, medical hardship, homelessness, self-sufficiency, fear, determination, friendship and turning your life around.
It reminds me a little of 'Shooting Stars' by Brian Falkner with its contrasting wild vs urban life.
A youngster, Cody, is thrown into school life after being homeschooled. Not only that, but his father is very ill and worse for wear. Strangely, Cody makes friends with all the homeless people - sees them - in particular, Ernest. The latter and a couple of friends at school (a vegetarian and a gay guy) help him understand how school works and how to find his feet again. When dealing with a bully, Alexis says, “Some people want sympathy for their pain,” she said. “Some just want to push it onto others.” Turns out he lost his mother to cancer and so his outlook on the newcomer softens and Cody (the protagonist) no longer has to fear him, only losing his dad. Cody receives several life lessons from his dad including, "the hardest thing you can do is let other people help you when you’re down and out."