Multiple wifi connected to main wifi node?

I would like to build a sensor that is wireless that will communicate to a main node that has wifi. This main node will send data to a computer I was thinking at least. Or would it be much better to have each sensor wifi communicate to a router connected to a computer?