connecting IR Tranceivers to Esp8266 and send data to MYSQL using Arduino

I am working on project, time is very short and I have no idea where to start and where to end. Actually, I have to receive and transmit data through IR Transceivers at same time and data I received from IR will store in MYSQL server through ESP8266 via Arduino nano. I'll really appreciate your help in this project.

Thanks Regards: M.Aitsam

See the IRremote library and its example sketches, how to connect IR receivers (and emitters) to an Arduino. Get a pair of remote control and applicable receiver, don't use bare IR diodes for the receiver.