Let me first start by saying I am very new to this stuff, only about a week into looking at all the options out there. From what I have found Raspberry Pi will be what I need for a project and I know Python, JS, Node.js, ect from my web background.
What I am trying to do is make a bunch of remote sensors (Raspberry PI Zero) either:
Transmit data to one hub (Raspberry Pi 3) that is connected to the internet via ethernet to make POST requests to my API and the hub transmits back to the remote units (if any updates needed)
All remote units (Zeros) share the internet connection from the hub that is plugged into a router and they make their own POST requests
Basically I am trying to make this plug and play. Where the user just plugs the hub into a router and the remote units can share what they need to the API (no setting up WiFi connections).
Is something like either option possible? Is there any tutorials? I have been searching but haven't round anything. I would imagine this is a common use case.