{"id":16295537,"url":"https://github.com/santoshshinde2012/multi-factor-authentication","last_synced_at":"2025-10-07T22:17:09.038Z","repository":{"id":235537315,"uuid":"790801553","full_name":"santoshshinde2012/multi-factor-authentication","owner":"santoshshinde2012","description":"2FA TOTP implementation using Node.js, TypeScript, and React.js","archived":false,"fork":false,"pushed_at":"2024-05-26T05:54:42.000Z","size":219,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T10:43:43.487Z","etag":null,"topics":["mfa","nodejs","reactjs","totp","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/santoshshinde2012.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-23T14:55:23.000Z","updated_at":"2024-10-10T05:42:31.000Z","dependencies_parsed_at":"2024-04-25T19:30:42.024Z","dependency_job_id":"a3a38f74-26f4-423b-aae5-244c708626bd","html_url":"https://github.com/santoshshinde2012/multi-factor-authentication","commit_stats":null,"previous_names":["santoshshinde2012/multi-factor-authentication"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/santoshshinde2012/multi-factor-authentication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshshinde2012%2Fmulti-factor-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshshinde2012%2Fmulti-factor-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshshinde2012%2Fmulti-factor-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshshinde2012%2Fmulti-factor-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santoshshinde2012","download_url":"https://codeload.github.com/santoshshinde2012/multi-factor-authentication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshshinde2012%2Fmulti-factor-authentication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278855639,"owners_count":26057710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mfa","nodejs","reactjs","totp","typescript"],"created_at":"2024-10-10T20:19:03.398Z","updated_at":"2025-10-07T22:17:09.022Z","avatar_url":"https://github.com/santoshshinde2012.png","language":"TypeScript","readme":"# [Multi-Factor-Authentication](https://github.com/santoshshinde2012/multi-factor-authentication)\n\n2FA TOTP implementation using Node.js, TypeScript, and React.js\n\n# Technology Stack\n\n- Node JS\n- Typescript\n- React JS\n- Vite\n\n## Backend\n\nThe backend includes the APIs for generating QR code and verifying TOTP code.\n\n## Client\n\nThe client includes a UI for showing QR codes and an input form to take a TOTP code.\n\n# Start The application in Development Mode\n\n```\n## Clone the Application \ngit clone https://github.com/santoshshinde2012/multi-factor-authentication.git\n\n## Install the dependencies\ncd multi-factor-authentication \u0026\u0026 npm install\n\n## Make sure to up your database\nnpm run db:up\n\n## Start the application\nnpm run dev\n```\n\n## Initial Folder Structure\n\n```\n├── multi-factor-authentication\n│   ├── backend\n│   │  ├── ....\n│   │  ├── package-lock.json\n│   │  └── package.json\n│   ├── client\n│   │  ├── ....\n│   │  ├── package-lock.json\n│   │  └── package.json\n│   ├── wiki\n│   │   ├── ....\n│   │   └── \n│   ├── README.md\n│   ├── package-lock.json\n│   └── package.json\n```\n## Main API\n\n- `api/v1/mfa/ready` : Check setup is ready or not\n- `api/v1/mfa/generate` : Generate the OTP Secret\n- `api/v1/mfa/verify` : Verify the OTP Secret\n- `api/v1/mfa/validate` : Validate the OTP code\n- `api/v1/mfa/reset` : Reset using the backup code\n\n\u003chr/\u003e\n\n### Connect with me on\n\u003cdiv id=\"badges\"\u003e\n  \u003ca href=\"https://twitter.com/shindesan2012\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/shindesan2012-black?style=for-the-badge\u0026logo=twitter\u0026logoColor=white\" alt=\"Twitter Badge\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.linkedin.com/in/shindesantosh/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/shindesantosh-blue?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\" alt=\"LinkedIn Badge\"/\u003e\n  \u003c/a\u003e\n   \u003ca href=\"https://blog.santoshshinde.com/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Blog-black?style=for-the-badge\u0026logo=medium\u0026logoColor=white\" alt=\"Medium Badge\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.buymeacoffee.com/santoshshin\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-black.png\" alt=\"Buy Me A Coffee\" height=\"28\" width=\"100\"\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n","funding_links":["https://www.buymeacoffee.com/santoshshin"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshshinde2012%2Fmulti-factor-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantoshshinde2012%2Fmulti-factor-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshshinde2012%2Fmulti-factor-authentication/lists"}