Passport
Prisma
Passport | Prisma | |
---|---|---|
63 | 461 | |
22,938 | 39,581 | |
- | 1.3% | |
7.5 | 9.8 | |
3 months ago | 2 days ago | |
JavaScript | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Passport
-
Non-technical person looking for your help
Next, use something like https://www.npmjs.com/package/passport, this is authentication middleware, and it works similarly for different authentication providers. Carefully read the documentation. OAuth is complicated, but that's because it solves a complicated problem
-
Should I use Passport Js for user authentication?
Passport is outdated and the project has been more or less on a stand-still for years now. As of currently, there are more than 320 open issues and very few have been resolved within the last months. I'd highly advice you not to use Passport for your applications in 2023. You've received some great alternatives by others in the comments here.
-
Exploring the Most Commonly Used Folder Names in Popular NPM Packages
lib: The lib folder, short for "library", is mostly used to store the actual source code of the package, but it can also be used to store third-party code, utilities and helpers. Example from passport.
-
req.logout() not working on passport.js even after adding callback?
Research - there's github and stackoverflow documentation saying this is part of passport.js 0.6.0 that can be resolved by turning logout into a callback function (I was not the first person to encounter this error).
-
Instagram Graph API Explained: How to log in users
passport for authentication
-
Auth.js Authentication for the Web
I went down the rabbithole of using next-auth (now authjs) for a recent project. Having used Passport.js [1] for Oauth2 the last time I was doing node.js ~3 years ago, I found this library to have many footguns as comments/answers on SO and Github.
Seems like many people are trying to shoehorn their codebase [2] (!!) to make it work with the way the library manages sign-in flow, redirects, cookies, logout, etc. [3]
These were solved problems in the MEAN stack era with middlewares, but now that Next.js/react is the trend, people are doing everything they can to make it work - from relaxing security configs, to stashing things in the JWT just so some callback can get an additional piece of data.
[1] https://github.com/jaredhanson/passport
- I'm having error saying that req.isAuthenticated() not a function
-
Authentication with Aws Cognito, Passport and NestJs (Part II)
Passport to act as auth middleware to authenticate requests Passport
-
Recommend an Express + TypeScript repository for user auth code
Checkout using NestJS that uses Passport or just checkout Passport
- PasswordJS
Prisma
-
Simple Next.js Magic Link JWT Authentication with Prisma, PostgreSQL, and Resend
When building web applications, authentication is almost always a core requirement. I needed something simple and secure that would let me get started quickly on new projects without over-complicating the setup. My goal was to have a solution that's easy to implement, handles email verification out of the box, and just works. In this post, I'm sharing how to build a straightforward magic link authentication system using Next.js, Auth.js, Prisma, PostgreSQL, and Resend. It's a powerful yet simple solution that accomplishes exactly what I needed, and I hope it'll be useful for your projects too.
-
Hacktoberfest 2024 with Ghostfolio
The software is fully written in TypeScript and organized as an Nx workspace, utilizing the latest framework releases. The backend is based on NestJS in combination with PostgreSQL as a database together with Prisma and Redis for caching. The frontend is built with Angular.
-
Finding and optimizing N+1 queries on a relational database
This was observed at least in 2022 [0], and wasn’t fixed until earlier this year [1].
My point was that any company willing to ship a product that is lacking such an incredibly basic part of the language does not deserve respect. These are deeply unserious people.
[0]: https://github.com/prisma/prisma/discussions/12715
[1]: https://www.prisma.io/blog/prisma-orm-now-lets-you-choose-th...
-
Prisma VS wabe - a user suggested alternative
2 projects | 8 Sep 2024
-
Building a Personal Finance App with Arcjet
This article will serve as a guide on how to create a simple finance management app using Arcjet, Next.js, Auth.js, Prisma, SQLite, and Tailwind CSS. Building a personal finance management app with modern web development skills, practical functionality, and robust security helps drive home the point of how effective it can be to incorporate these features. Our application will be proof of concept, so there will be no live working payment gateway.
-
Authentication in NestJS with PassportJS and Prisma
Prisma
-
Fullstack Serverless Starter with Hono.js, Cloudflare Workers, and Neon Postgres
Database interaction using Prisma.
-
Modern Web Development with Turborepo, Next.js, TailwindCSS, NestJS, and More…
I started this project mainly for fun. So it’s not perfect! 😅 I wanted to learn and experiment with various tools like monorepo with Turborepo, Next.js, NestJS, Prisma, tailwindcss... So, I created a simple, fake, responsive application using this NFT Marketplace template from Anima. For the images I used DALL.E. I hope it can help or inspire anyone interested in these tools. Enjoy it! And let me know :)
-
🚀 Building a Comprehensive Job Portal with Next.js, ShadcnUI, Prisma & MongodB, and Google Generative AI
Prisma: An ORM that simplifies database access and schema management.
-
Schema + Data migration in Prisma (adding a new mandatory field)
Learn more here
What are some alternatives?
Keycloak - Open Source Identity and Access Management For Modern Applications and Services
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
everyauth - node.js auth package (password, facebook, & more) for Connect and Express apps
Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.
Grant - OAuth Proxy
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
supabase - The open source Firebase alternative. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
Mongoose - MongoDB object modeling designed to work in an asynchronous environment.
passwordless - node.js/express module to authenticate users without password
MikroORM - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.
Lockit - Authentication solution for Express
lucid - AdonisJS SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more