How can I use and NFC v3 module and L298 Motor driver module with Arduino such that when I first scan the RFID tag, it stores the tag id for security and start the motor in forward direction and when it again scans the RFID tag, it checks against the stored id and if it matches then it will start the dc motor in backward direction. I need the wiring and code for my project.
Please post a link to the NFC module and to the motor driver. Nobody will be able to help with wiring if they don't know what to wire.
Have looked at examples for the NFC and the motor driver? If not, please do so. Anything you do not understand?
Most of us don't write code for you, we guide you through the process of writing code to achieve what you want. The end result might be a complete code or a framework that you can use to implement what you want to achieve.
If you want code to be written for you, you can head over to the gigs and collaboration section and ask there. Be prepared to pay in that case.