fastify-nextjs
fastify-rate-limit
fastify-nextjs | fastify-rate-limit | |
---|---|---|
1 | 2 | |
516 | 447 | |
1.0% | 1.6% | |
8.9 | 7.4 | |
4 days ago | about 1 month ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
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-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.
fastify-rate-limit
-
5 Node.js security code snippets every backend developer should know
fastify-rate-limit is a plugin for the Fastify web framework that provides an easy-to-use interface for implementing rate limiting in your Node.js applications. The plugin lets you specify the maximum number of requests a client can make within a specific timeframe and the response to send when this limit is exceeded.
-
71-Nodejs Course 2023: Request Throttle, Rate Limiters and DDOS Attacks
We can do it by our own, but i'll use for now Fastify-rate-limit plugin to achieve this easily.
What are some alternatives?
nextjs-postgres-auth-starter - Next.js + Tailwind + Typescript + Drizzle + NextAuth + PostgreSQL starter template.
fastify-swagger - Swagger documentation generator for Fastify
nextjs-mysql-auth-starter - Next.js + Tailwind + Typescript + Prisma + NextAuth + PostgreSQL starter template. [Moved to: https://github.com/vercel/nextjs-postgres-auth-starter]
csrf-protection - A fastify csrf plugin.
create-jd-app - The quickest and most efficient way to start new full stack, type safed Solid web app
fastify-compress - Fastify compression utils
edc_password_generator_next
fastify-env - Fastify plugin to check environment variables
fastify-oauth2 - Enable to perform login using oauth2 protocol
fastify-raw-body - Request raw body
next-auth - Authentication for the Web.