fastify-auth
uWebSockets.js
fastify-auth | uWebSockets.js | |
---|---|---|
5 | 32 | |
324 | 7,360 | |
1.9% | 2.5% | |
6.9 | 8.1 | |
about 1 month ago | 7 days ago | |
JavaScript | C++ | |
GNU General Public License v3.0 or later | 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.
fastify-auth
-
KitaJs Survey - No runtime code, fast as bare metal and top level framework.
100% compatibility with already built fastify plugin, so things like authentication can be done in an already good way, like with fastify-auth
-
Best HTTP-framework with TypeScript?
Fastify as its core is okay. Not great, but OK. But plugins (official ones) made me struggle. For example, I couldn't figure out how to get fastify-auth plugin to work. It seems like plugins, even official, do not keep the same standards across whole ecosystem. It would be nice if all would have TS examples.
-
Fastify-auth using either tokens or user/pass works, now how to persist authentication state
So the example is here I copied it as is, just adapting routes. Now to my understanding, I need either sessions or cookies so that when the user hits only one time ` http://127.0.0.1:3000/auth-multiple` all sequential calls to any secured api would verify the token.
- How could I have prevented wasting time on debugging in this case?
-
Getting started with the Notion API
For example, Fastify allows us to write better and cleaner asynchronous code by parsing JSON requests. With Fastify plugins, you don’t have to install multiple npm packages from different authors to perform common tasks like authentication and validation.
uWebSockets.js
-
Building Real-Time Next.js Apps with WebSockets and Soketi
If you have never heard of Soketi, to give you a brief overview, it is a WebSocket server that was built on top of uWebSockets.js and has great compatibility with Pusher Protocol.
-
8 Best WebSocket Libraries For Node
# Clone the repo w/ submodules git clone --recursive https://github.com/uNetworking/uWebSockets.js.git # Cd into the folder cd uWebSockets.js # build make
- uWebSockets.js
-
Ask HN: How do you handle WebSocket connections reconnect problem?
have you tried https://github.com/uNetworking/uWebSockets.js/
-
I have done a full benchmark of a POST REST API on my computer: Node.js vs Fastify vs Express.js vs Deno vs Bun vs GO. Node.js is used WITH and WITHOUT clustering on 6-core I7 processor
If you'd like to test cluster mode, then use v19.3.0 as it described here https://github.com/uNetworking/uWebSockets.js/issues/593
- Simple, performant HTTP and WebSocket server using uWebSockets.js
- Millions of Active WebSockets with Node.js
-
KitaJs Survey - No runtime code, fast as bare metal and top level framework.
The fastest node framework is uWebSockets (as they claim, I didn't try it yet), so if Kita's goal is to maximize performance - you should check on it.
-
Can the performance of the clustered nodejs application compete with (or be better than) the performance of .NET Core-6-7?
I'm serving several hundred thousands queries per second from a single nodejs server (multithreaded) with this: https://github.com/uNetworking/uWebSockets.js/
-
Here is a fun question:
https://github.com/uNetworking/uWebSockets.js/ ^ this is the best for performance
What are some alternatives?
fastify-authentication - simple authentication using fastify using cookies and jwt
fastify-websocket - basic websocket support for fastify
Ts.ED - :triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. ⭐️ Star to support our work!
ws - Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
notion-sdk-js - Official Notion JavaScript Client
pws - Just another simple, fast, and resilient open-source WebSockets server. 📣 [Moved to: https://github.com/soketi/soketi]
dotenv - A Ruby gem to load environment variables from `.env`.
Socket.io - Realtime application framework (Node.JS server)
fastify - Fast and low overhead web framework, for Node.js
subscriptions-transport-ws - :arrows_clockwise: A WebSocket client + server for GraphQL subscriptions
sidewinder - Type Safe Micro Services for Node
jelly-actix-web-starter - A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.