About the module used Nodejs, Express,speakeasy for generating secret code and validate the time based OTP & node-Json-Db as database and routing 2fa is an module done using nodejs and speakeasy