NodeMcu external power supply

I need to power up NodeMCU and 4-ch relay with external power supply. The idea is to use 5V/1A supply to power NodeMCU through GND and VIN and relay through GND and VCC. Should this supply have enough juice for both or i need stronger or maybe two of the same? Or maybe some other solution? Problem is the space in which those two gonna be packed.

I read about that 4,75V is minimum for NodeMCU on VIN pin so this would be ok, i think. But, i would like to hear other thoughts.

Still no suggestion for this question. I use something like this. Problem is that they don't last long. And problem is there is no space for something bigger. Maybe to use something like this?