Forem

Cover image for Plug n play authentication from scratch in JavaScript
Kauress
Kauress

Posted on • Edited on

4 1

Plug n play authentication from scratch in JavaScript

A few glimpses of my side project which is a plug-n-play authentication module built from ground up for developers (mainly). It's built with verbosity in mind so that junior devs can get in on the action.

Uses MongoDB, Express.js, Passport.js (social logins), EJS, SendGrid (mail) and node modules (bcrypt, jwt etc)

So far the functionalities for v.1.0 are:

  1. User registers
  2. Verification email sent to user with JWT
  3. Verified user can login
  4. 3rd party logins (Facebook, Google+ and Twitter)
  5. Password reset email which redirect to user's secret question
  6. Answer secret question and reset password
  7. Google recaptcha for spam protection

I might put in a honeypot for further spam protection

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (2)

Collapse
 
treevil profile image
Trevor

Look like a cool module.
Did you release the code somewhere?

Collapse
 
kauresss profile image
Kauress

I will soon on gumroad and here :)

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay