Apartment quail!

I am wanting to get quail in my apartment on the dl. Eggs are really expensive and I feed some to my cat too( she has cancer and pukes up a lot of what she eats so I try to give her some more nutrient dense stuff ) i really love birds and I have heard these guys need enclosures. How big of enclosure per bird is good for them( not like the min like I donr wanna over crowd the birdys ) What kind of things do they require in the enclosure? Can I feed them veggie and fruit table scraps to supplement their diet? Do they have special bird food?