Managing what goes into your compost pile is important to the health of the decomposition process. Balancing the carbon materials with the green materials keeps the microorganisms thriving. Add a dry, brown material such as shredded paper or leaves between layers of green layers high in nitrogen. Water is necessary for the biological process and should be between 40 and 60 percent. Heat kills off pathogens harmful to us; compost piles built to be at least 3 feet square usually generate enough heat for healthy compost.
Using compost in the city might be a little different than in suburbia or rural yards, but not much. Pull the dark crumbly soil from the bottom of the compost bin and use it for window pots, outside planters, small vegetable and flower gardens. You don't want to use compost in the house as it is alive with microbial growth, healthy nematodes and worms.
Space is another important consideration when planning composting. Maybe the only yard space you own is in your front yard, where composting is not feasible. Compost is a hidden, backyard sort of operation. Work with neighbors to coordinate a block compost pile in an empty lot or a community area. Some cities offer space for community gardens where compost piles are encouraged.
Rodent control is an important if not limiting factor in city compost piles or bins. Since rodents carry disease and pests, it is important for city dwellers to eliminate any source of food for them. Not only do you need to construct a sturdy bin that rodents cannot raid, but you cannot compost any dairy, meat, grains, grease or pet waste products. City guidelines might require you to use a bin with a lid, a floor and no holes or gaps larger than ¼ inch.