Repository navigation
Add PasswordlessLogin project by manishgupta412 - #1254
Open
manishgupta412 wants to merge 1 commit into
Open
manishgupta412 wants to merge 1 commit into
manishgupta412 wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ Developer Checklist
ProjectName/{USERNAME}/...yourfiles)📝 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
🔗 Live Project Link
Not hosted (it needs a Mailtrap account to send email). Full docs: https://github.com/manishgupta412/express-email-otp-login