The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Fastify Open-Source Projects
-
http-proxy-middleware
:zap: The one-liner node.js http-proxy middleware for connect, express, next.js and more
-
nodejs-integration-tests-best-practices
✅ Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (March 2024)
-
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.
-
graphql-ws
Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
practica
Node.js solution starter boilerplate that is production-ready, packed with ✅ best practices and built with simplicity in mind
-
fastify-example
This project is a small but feature complete application build with Fastify and Svelte, and it aims to show all the core concepts of Fastify, best practices, and recommendations.
-
aws-lambda-fastify
Insipired by aws-serverless-express to work with Fastify with inject functionality.
-
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.
Then we translate each rule. webpack-dev-server uses http-proxy-middleware under the hood, and here's how to translate each field.
GraphQL Gateway is primarily responsible for serving GraphQL queries to consumers. It takes a query from a client, breaks it into smaller sub-queries, and executes that plan by proxying calls to the appropriate downstream subgraphs. When we started our journey, there was only Apollo Federation in the arena, and we used it. Still, now you can look at other options (e.g. Mercurius, Conductor, Hot Chocolate, Wundergraph, Hasura Remote Schemas), compare benchmarks and decide what's important and preferable for your needs. The Gateway provides a unified API for consumers while giving backend engineers flexibility and service isolation.
🔖 Curious to see examples? We have a starter: Visit Practica.js, our application example and boilerplate (beta) to see some practices in action
Project mention: 🏎️💨 Turbocharge your builds with a Turborepo remote cache in a single edge function | dev.to | 2023-11-15Turborepo is owned by Vercel, so understandably they want you to use their cache service. However Turborepo does support custom remote caching, and there is already a great open source Turborepo remote cache project, but I had a feeling I could build something simpler.
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.
You'll need Node.js installed (we used Node v20.5.1), and you'll need to install the Fastify CLI.
Project mention: Show HN: Fast-maker generate fastify.js route configuration using by file system | news.ycombinator.com | 2024-02-25`fast-maker` generate [fastify.js](https://github.com/fastify/fastify) route configuration using by directory structure.
Why `fast-maker`?
1. Zeor cost for routing configuration at runtime
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.
Fastify related posts
- 5 Node.js security code snippets every backend developer should know
- Show HN: Fast-maker generate fastify.js route configuration using by file system
- Fastify/Htmx v0.1.0
- Show HN: Add auth/billing to GPTs with a TypeScript template
- Craft OpenAPI Specs & Production-Ready SDKs with Fastify
- Google OAuth2 with Fastify + TypeScript From Scratch
- Show HN: An Admin-Friendly, User Management Server (With Passkeys and JWTs)
-
A note from our sponsor - WorkOS
workos.com | 26 Apr 2024
Index
What are some of the best open-source Fastify projects? This list will help you:
Project | Stars | |
---|---|---|
1 | http-proxy-middleware | 10,483 |
2 | nodejs-integration-tests-best-practices | 3,200 |
3 | mercurius | 2,300 |
4 | electrode | 2,100 |
5 | ts-rest | 1,953 |
6 | graphql-ws | 1,661 |
7 | platformatic | 1,379 |
8 | practica | 1,329 |
9 | codeimage | 1,216 |
10 | turborepo-remote-cache | 869 |
11 | fastify-swagger | 851 |
12 | fastify-vite | 795 |
13 | fastify-cli | 619 |
14 | fastify-example | 618 |
15 | benchmarks | 569 |
16 | fastify-nextjs | 515 |
17 | aws-lambda-fastify | 485 |
18 | fastify-jwt | 476 |
19 | stripe-sync-engine | 457 |
20 | fastify-rate-limit | 445 |
21 | fastify-multipart | 439 |
22 | fastify-static | 405 |
23 | fastify-cors | 376 |
Sponsored