Skip to content

Implement two factor authentication for NextJS

Notifications You must be signed in to change notification settings

phuongpt/nextjs-2fa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEXTJS-2FA

Test CI

This is a sample NextJS project that includes support for two-factor authentication, localization, Redux, styled-components, and Cypress testing. This project is intended to serve as a starting point for developers who want to build secure and scalable applications using NextJS.

Screenshot

Installation

To install this project, simply clone the repository and run the following command:

yarn install

Usage

To run the project, you can use the following command:

yarn dev

This will start the development server and open the application in your browser.

Testing

This project includes Jest for testing. To run the tests, use the following command:

yarn run test

This project includes Cypress for testing. To run the tests, use the following command:

yarn run cypress