Epitech security project in which we had to make an OTP generator
Before you can do anything with that repo, you must download the dependencies with node package manager so open a terminal, go to the project directory and type:
npm install
# or
yarn
In the project repository, you can type:
npm start
# or
yarn start
Then you can go in your navigator at http://localhost:4242
You type the key, hit the 'Validate button' and you will get a HOTP code with parameters according the Google Authenticator app