Nest
Socket.io
![SurveyJS Logo](https://cdn-b.libhunt.com/images/promo-campaign-images/000/000/030/main.png?1674177924)
Nest | Socket.io | |
---|---|---|
315 | 831 | |
65,110 | 60,411 | |
1.1% | 0.4% | |
9.9 | 7.8 | |
6 days ago | 20 days ago | |
TypeScript | TypeScript | |
MIT License | 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.
Nest
- Why is no Laravel/Rails in JavaScript? Will there be one?
-
NestJS Developers: Upgrade Your Logging with This Simple Guide
NestJS is a powerful, progressive Node.js framework for building efficient and scalable server-side applications. It is written in TypeScript and is heavily inspired by Angular. It comes with a modular architecture and in-built support for a plethora of back-end features straight out of the box. One important part of developing applications with NestJS, or with any other back-end framework, is logging.
-
Create NestJS libraries to interact with Ory API
Ory offers excellent documentation but needs more support tools and in-depth examples of using its libraries in TypeScript and NestJS projects. I decided to contribute to it by creating a set of libraries to interact with APIs, which will (hopefully) make integration into your NestJS project easier. This post presents the ideal use case to divulge my routines for creating libraries in NestJS/Nx!
-
NestJS tip: how to change HTTP server timeouts
When using the NestJS framework, sometimes you may need to change some default timeout. You can define them just like you'd do in a plain Node.js HTTP server like so:
-
Containerize your multi-services app with docker compose
Back: a graphQL server built with Nestjs
-
Full Stack Web Development Concept map
NestJS - opinionated more scalable, but harder to learn docs
-
Don't go all-in Clean Architecture: An alternative for NestJS applications
Pragmatically, we can apply this to a Nest application by creating an Interface for our services, separating the Presenter layer (Controller) from the Use Case (Services):
- Utilizando Testcontainers para Testes de Integração com NestJS e Prisma ORM
-
A Gentle Introduction to Containerization and Docker
It’s a text document that contains all the commands a user could call to assemble an image. Let’s check an example of a Dockerfile for a nodejs app in this case it will be a NestJS app and then explain each part.
-
Scalable REST APIs with NestJS: A Testing-Driven Approach
describe('Create bookmarks', () => { const dto: CreateBookmarkDto = { title: 'NestJS', link: 'https://nestjs.com/', }; it('should create bookmark', () => { return pactum .spec() .post('/bookmarks') .withHeaders({ Authorization: 'Bearer $S{userAt}', }) .withBody(dto) .expectStatus(201) .stores('bookmarkId', 'id')//store the bookmark id in the variable bookmarkId .expectBodyContains(dto.title) .expectBodyContains(dto.link) }); });
Socket.io
- Meilleures pratiques pour créer une application Express.js
-
Top 20 Javascript Libraries on Github
Repository: Socket.io
-
Socket.io Connection Issues on localhost!
When developing web applications, you might encounter connectivity issues between your client and server when using Socket.io on localhost.
-
WebSockets
There are various libraries that let you create a ws server (similar to how express lets you create an HTTP server) https://www.npmjs.com/package/websocket https://github.com/websockets/ws https://socket.io/
-
Create a Chat with Laravel and Socket.io
Previously we created a chat with pusher. but this time we are going to do it with Socket.io. Socket.io is a NodeJS library. With it we can create our own servers. This is cheaper than using pusher server and we have more control on the code.
-
Building a GitHub activity feed with Node.js and Socket.io
The first is the script tag in the head of our HTML document that loads the Socket.IO client library. This script tag includes the Socket.IO client library that will communicate with our socket.io server from the code above.
-
Mastering Microservices: A Hands-On Tutorial with Node.js, RabbitMQ, Nginx, and Docker
Before diving into this tutorial, if you find microservices mysterious, check out my previous article for a detailed explanation. In this hands-on tutorial, we'll build a real-time chat server using Node.js, Socket.io, RabbitMQ, and Docker. Get ready for a practical journey into the world of microservices! Let's begin.
-
Node.js Roadmap: Mastering the Essentials
Socket.io Docs
-
WebSockets Unlocked: Mastering the Art of Real-Time Communication
Now we will be implementing socket logic using socket.io for building websockets. This library provides an abstraction layer on top of WebSockets, simplifying the process of creating real-time applications. For better maintainability, it is recommended to create a separate file for socket calls. To do this, navigate to the src folder, create a folder named services, and inside it, create a file named socket.ts under the services folder.
-
Socket io not working on deployed version
Hi I made a chat app using socket.io it worked fine locally but when i deployed the app on render.com socket is not working properly i have to refresh the page to see new messages please help...
What are some alternatives?
SailsJS - Realtime MVC Framework for Node.js
Primus - :zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.
Koa - Expressive middleware for node.js using ES2017 async functions
SocketCluster - Highly scalable realtime pub/sub and RPC framework
loopback-next - LoopBack makes it easy to build modern API applications that require complex integrations.
Centrifugo - Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.
feathers - The API and real-time application framework
peerjs - Simple peer-to-peer with WebRTC.
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!
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
Moleculer - :rocket: Progressive microservices framework for Node.js
Mercure - 🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications
![SurveyJS Logo](https://cdn-b.libhunt.com/images/promo-campaign-images/000/000/030/main.png?1674177924)