Auth is a fullstack JavaScript application focused on Multi-Factor Authentication (MFA). The goal of this project is to implement and test MFA concepts using an Express.js backend and a Next.js frontend.
- Backend: Express.js, Speakeasy, QRCode, Resend
- Database: MongoDB
- Frontend: Next.js
- Multi-Factor Authentication (MFA) with Speakeasy and QRCode
- Password recovery via email
- Login via Magic Link
- Session management
git clone https://github.com/pedro5g/auth
cd authCreate a .env file in frontend and backend root and fill it with the necessary variables.
Register and execute the clone.sh script:
chmod +x clone.sh
./clone.shRegister and execute the dev.sh script:
chmod +x dev.sh
./dev.sh