Just from the sounds of it, the closest thing I can think to describe it would be as a bildungsroman.