fastify-oauth2
fastify-nextjs
fastify-oauth2 | fastify-nextjs | |
---|---|---|
2 | 1 | |
234 | 518 | |
0.9% | 0.8% | |
7.3 | 8.9 | |
12 days ago | 2 days ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
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.
fastify-oauth2
-
Google OAuth2 with Fastify + TypeScript From Scratch
There were several options on the table, but 2 options were more serious than the others. The first option is to use the @fastify/fastify-oauth2 package. The second option is to use Google Auth Library.
-
HELP: How do you secure REST APIs for modern front-ends?
You can just use the fastify-oauth2 plugin https://github.com/fastify/fastify-oauth2. Of course, you first have to set up your login providers.
fastify-nextjs
-
Auth.js Authentication for the Web
I like fastify more than express due to the great opinions (json schema, hooks etc). I use fastify + the fastify-nextjs plugin. It works great and lets you expose custom request decorations from node.js to next.js.
Maybe this can help you too: https://github.com/fastify/fastify-nextjs
The only drawback is the slow startup time of next.js, which becomes really annoying with huge next.js projects. But for smaller projects, fastify-nextjs is fine.
What are some alternatives?
fastify-cors - Fastify CORS
nextjs-postgres-auth-starter - Next.js + Tailwind + Typescript + Drizzle + NextAuth + PostgreSQL starter template.
fastify-vite - Fastify plugin for Vite integration.
nextjs-mysql-auth-starter - Next.js + Tailwind + Typescript + Prisma + NextAuth + PostgreSQL starter template. [Moved to: https://github.com/vercel/nextjs-postgres-auth-starter]
secure-ls - :lock: Secure localStorage data with high level of encryption and data compression
fastify-rate-limit - A low overhead rate limiter for your routes
fastify-jwt - JWT utils for Fastify
create-jd-app - The quickest and most efficient way to start new full stack, type safed Solid web app
fastify-multipart - Multipart support for Fastify
edc_password_generator_next
fastify-swagger - Swagger documentation generator for Fastify
next-auth - Authentication for the Web.