“You’ve Got Mail (inator)”
YouGotMailinator is a lightweight demo app that showcases how to test email-based workflows (password resets, magic links, verification emails) using Mailinator.
This is a simple but fully functional password reset demo using Node.js, Express, and Nodemailer.
- You can request a password reset, using your email address
- Your Gmail account will send the reset email to the email address you provided
- You can click the reset link to reset your password in the app
- You can login with your new password in the app
- Node.js
- You'll need an app password from your Gmail account
- Run
npm installto install dependencies. - Go to your Google Account settings > Security > App Passwords and create an app password.
- Rename
.env.exampleto.envand add your Gmail credentials:
GMAIL_USER=your-gmail-address
GMAIL_PASSWORD=your-app-password
- Finally you just run
node server.jsand navigate tohttp://localhost:3000in your browser.
Built for testers. Friendly for developers. Great on video.