Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 23 fastify-plugin Open-Source Projects
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
fastify-openapi-glue
A plugin for the Fastify webserver to autogenerate a Fastify configuration based on a OpenApi(v2/v3) specification.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
> However, it's important to note that browser support wasn't a primary focus in gRPC's design. This oversight necessitates an additional component, grpc-web, for browser accessibility. Furthermore, external services often have specific needs like caching and load balancing, which are not directly catered to by gRPC. Adopting gRPC for external services might require bespoke solutions to support these features.
The article should mention the Connect protocol for web-based Protobuf messaging:
https://connectrpc.com/
With Speakeasy, you can create client SDKs based on an OpenAPI specification. Fastify ships with the @fastify/swagger plugin, which provides convenient shortcuts for generating good OpenAPI specifications. We'll start this tutorial by registering @fastify/swagger in a Fastify project to generate a spec.
Let me explain it again. The banlist is mean to inspect the payload/claims and deny access even if the signature/JWT is valid. We don't need to change anything else. A lot of libraries already provide such a feature. For example https://github.com/fastify/fastify-jwt via the trusted preHook.
Project mention: 5 Node.js security code snippets every backend developer should know | dev.to | 2024-02-29fastify-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.
We can replace this middleware with the @fastify/static plugin, which you can install through the command below:
cors -> @fastify/cors.
helmet -> @fastify/helmet.
Since we've migrated our only application route that renders templates, the above lines are no longer needed and can be safely deleted. But you now need to configure Fastify to render the Pug template through the @fastify/view plugin. It decorates the Reply interface with a method that we'll then use to render the template.
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.
Fastify also supports Express-style middleware but it requires you to install an external plugin such as @fastify/express or @fastify/middie. This eases migration from Express to Fastify, but it should not be used in greenfield projects in favor of hooks. Note that in many cases, you can find a native Fastify plugin that provides the same functionality as Express middleware.
As mentioned in part 2 of this series, using the @fastify/express plugin is the quickest way to get your existing Express application working with Fastify. The plugin adds full Express compatibility to Fastify so that you can easily use any Express middleware — or even an entire Express application — with your Fastify instance, and it will just work with no changes required.
Project mention: To use multiple env files for each environment or not? What is your take on this? How are you implementing this? | /r/node | 2023-06-22so how would you do this on fastify since it doesnt seem to support it
fastify-plugin related posts
-
5 Node.js security code snippets every backend developer should know
-
Google OAuth2 with Fastify + TypeScript From Scratch
-
Migrate Your Express Application to Fastify
-
To use multiple env files for each environment or not? What is your take on this? How are you implementing this?
-
Advanced Fastify: Hooks, Middleware, and Decorators
-
HELP: How do you secure REST APIs for modern front-ends?
-
KitaJs Survey - No runtime code, fast as bare metal and top level framework.
-
A note from our sponsor - InfluxDB
www.influxdata.com | 6 May 2024
Index
What are some of the best open-source fastify-plugin projects? This list will help you:
Project | Stars | |
---|---|---|
1 | connect-es | 1,208 |
2 | fastify-swagger | 858 |
3 | fastify-vite | 796 |
4 | fastify-nextjs | 516 |
5 | fastify-jwt | 481 |
6 | fastify-rate-limit | 451 |
7 | fastify-multipart | 441 |
8 | fastify-static | 406 |
9 | fastify-cors | 382 |
10 | fastify-websocket | 377 |
11 | fastify-helmet | 371 |
12 | fastify-auth | 324 |
13 | point-of-view | 323 |
14 | fastify-http-proxy | 321 |
15 | fastify-autoload | 308 |
16 | fastify-passport | 237 |
17 | fastify-oauth2 | 234 |
18 | middie | 234 |
19 | fastify-express | 228 |
20 | fastify-compress | 188 |
21 | fastify-redis | 183 |
22 | fastify-openapi-glue | 185 |
23 | fastify-env | 182 |
Sponsored