Complete Guide to Authentication in JavaScript

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
surveyjs.io
featured
Civic Auth - Auth in Less Than 5 Minutes
Civic Auth comes with multiple SSO options, optional embedded wallets, and user management โ€” all implemented with just a few lines of code. Start building today.
www.civic.com
featured
  1. Authentication

    ๐Ÿ” Backend code of a secure password Authentication API.

    Here's the source code if you want to dive directly into the code.

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  3. node

    Node.js JavaScript runtime โœจ๐Ÿข๐Ÿš€โœจ

    A quick note: You will be building this API with Node.js and Express. Make sure that Node.js is installed on your machine. If not, go ahead and download it from the official website.

  4. Mongoose

    MongoDB object modeling designed to work in an asynchronous environment.

    After importing the mongoose module, use the [mongoose.connect()](https://mongoosejs.com/docs/api/mongoose.html#mongoose_Mongoose-connect) function to connect to the database. The first argument is the connection string, and the second argument is an object that contains the options, which are used to configure the connection. The above code logs the message, MongoDB connection is established successfully! ๐ŸŽ‰, once the connection is successful.

  5. frank_jwt

    JSON Web Token implementation in Rust.

    Before creating the endpoint, let's make some helper functions to help us sign JWT tokens. JSON Web Tokens are used to exchange data between clients and servers in a secure manner. We will store the usersโ€™ information inside the browser's cookie storage as a JWT token for security reasons. JWTs contain user information encrypted and signed with a secret key. For more information about JWTs, you can read this article.

  6. Express

    Fast, unopinionated, minimalist web framework for node.

    A quick note: You will be building this API with Node.js and Express. Make sure that Node.js is installed on your machine. If not, go ahead and download it from the official website.

  7. babili

    :scissors: An ES6+ aware minifier based on the Babel toolchain (beta)

    You must have a basic understanding of JavaScript and be familiar with some of the features of ES6, the most recent version of JavaScript, to follow this tutorial. More information is available here if youโ€™re unfamiliar with ES6. If you are more familiar with the older version of JavaScript, you might find the babel REPL more helpful to see how ES6 code is translated.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Building an AI-powered Financial Behavior Analyzer with NodeJS, Python, SvelteKit, and TailwindCSS - Part 2: GitHub OAuth

    3 projects | dev.to | 5 Feb 2025
  • Blog Server with JWT Authentication - Powered by Node.js & MySQL

    3 projects | dev.to | 6 Dec 2024
  • How to build a full stack blog application using NodeJS MongoDB ExpressJS

    2 projects | dev.to | 16 Jul 2024
  • Node js Rest API

    5 projects | dev.to | 4 Jul 2024
  • Low-code drag-and-drop tool for building RESTful APIs with in minutes.

    11 projects | dev.to | 4 Jul 2024

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?