We've hatched quail for people, but never kept them ourselves. Our daughter did for a while, and a couple of allotment colleagues do so.
Personally, I'm not keen. They're usually kept in small wire-fronted coops, in which they seem happy enough, but always look a bit confined to me. You do need to be careful about the male to female ratio, too. My daughter described the mating behaviour of the male birds as "rapey", which isn't an understatement. Make sure each male has several females to share his attentions.
The best coop that I've seen was constructed like a large tall bookcase, mostly wire-fronted, but with solid panels to provide nighttime sleeping compartments. Birds could move from level to level up little ladders. There was plenty of space, and it was possible to create quarantine areas or areas for chicks simply by shutting the openings between levels.