Skip to content

Add PasswordlessLogin project by manishgupta412 - #1254

Open
manishgupta412 wants to merge 1 commit into
thinkswell:masterfrom
manishgupta412:PasswordlessLogin-manishgupta412
Open

manishgupta412 wants to merge 1 commit into
thinkswell:masterfrom
manishgupta412:PasswordlessLogin-manishgupta412

Conversation

@manishgupta412

Copy link
Copy Markdown

✅ Developer Checklist

  • I have followed all the guidelines mentioned in the README file.
  • I have maintained the required directory structure. (Format: ProjectName/{USERNAME}/...yourfiles)
  • This Pull Request contains only one project.
  • I have starred ⭐ the repository (optional).

📝 Summary

Adds PasswordlessLogin/manishgupta412/: a passwordless login for Express where users sign in with a 6-digit email code or a magic link. Codes and links are stored hashed, are single-use and expire after 10 minutes, a code locks after 5 wrong attempts, and requests are rate limited. It is written in TypeScript with Express, SQLite and Zod, and sends emails through the Mailtrap API.

The folder has its own README (stack, steps to run, how to get the API key), a test suite (npm test, 42 passing) and an MIT licence. It runs on its own from that folder. Note that it is a backend project with server-rendered pages, so it is bigger than a typical front-end mini project.


📸 Screenshots / GIFs

Signing in with a 6-digit code

Sign-in page


🔗 Live Project Link

Not hosted (it needs a Mailtrap account to send email). Full docs: https://github.com/manishgupta412/express-email-otp-login

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant