However, the tutorial is for Arduino Uno.
How do I give the 5V to Relay’s VCC? Do I use Photon’s VIN?
Should I use Shield Shield? How should I use Shield Shield?
@dushyantbangal, you CAN power the relays with Photon’s VIN and GND pins assuming you have a good quality USB power supply (1 Amp ideally). Since the relay board uses opto-isolators, you can connect the IN1/IN2 lines directly to Photon Dx pins.
Just so it's been said: mains can and will kill you, please be careful. If you're uncertain about something, don't take the risk, it's not worth it. If in doubt, contact a professional electrician.