Just because you have little or no outdoor space doesn't mean you can't grow your own vegetables and build a home farm. There are quite a few things that can be grown sufficiently indoors, so don't fret if you live in an apartment you can still have your own tasty fresh produce and eat it too.
While not everything maybe be suitable for indoor home farming, there are a few vegetables that work best. Think small, while you probably won't be able to plant a corn crop inside, anything that can be grown in the confines of a container will work. Anything leafy like lettuce, water cress, chard or spinach tends to tolerate well inside. Beans, bell peppers and tomatoes, especially the cherry tomatoes, are also good vegetables for growing indoor. Even carrots can be grown inside if you use the proper container.
The key to indoor home farming is selecting the right containers and having plenty of sunlight. Using containers with good drainage is important to growing inside, as well as the size and shape of the containers. Large planting pots like those you would use for most houseplants will work well for vegetables like tomatoes, bell peppers or cucumbers. While narrow, long containers should be used for carrots and green beans, replicating a row garden like you would plant outdoors. Leafy greens like spinach and lettuce should also be grown in long, but flatter containers.
To grow your vegetables indoor you will need a good light source, preferably a spot that gets a good amount of sunlight throughout the day. However, if sunlight is lacking or simply not enough, you can also purchase grow lights for your plants. I find it handy to use a timer on the grow light, you can use one that fits between your lamp plug and the outlet and set it to go on at certain intervals throughout the day, ensuring that your plants get a good dose of light every day.