#Nodejs
33 notas · última:
The 80/20 Guide to Express Error Handling
Explains how Express error-handling middleware centralizes HTTP error responses, how `next()` routes async failures to handlers, and how `wrapAsync()` makes async/await errors work cleanly.
nexe
Nexe compiles Node.js applications into a single executable. The page highlights self-contained binaries, idempotent builds, resources added to the bundle, and compilation options and API.
Five Design Patterns to know in Node.js
The text presents five common patterns in Node.js — Singleton, Factory, Observer, Decorator, and Dependency Injection — and shows how each helps organize creation, extension, and the use of dependencies.
How I Built a Curated, Automated Open Source Portfolio
The author describes building an automated open source portfolio because manual tracking became stale. The system uses a Node.js script and GitHub Actions to collect only selected contributions under strict filters.
Set up HTTP Tunneling in minutes with Tunnelmole
The article explains HTTP tunneling, how it forwards public requests to a local server, and why developers use it for webhooks, demos, device testing, API work, and bypassing network blocks.
Create your own AWS lambda function (Server-less)
The page walks through creating a Hello World AWS Lambda in us-east-1 with Node.js 14.x, then deploying and testing a handler that returns a JSON response with statusCode, body, and headers.
TypeORM: Object-relational mapping with Node.js
The article explains what an ORM is, why it helps with data-driven API work, and how TypeORM brings TypeScript support, decorators, and multiple ORM patterns to Node.js projects.
Create Real-Time Twitter Banner using Node.js
The post explains how to build a Twitter banner that updates with the three most recent followers, using Twitter API credentials, image downloading, Jimp compositing, and a looped update script.
Building a Node.js/TypeScript REST API, Part 2: Models, Middleware, and Services
The article organizes a users REST API into DTOs, DAOs, services, controllers, and middleware, using an in-memory store to show CRUD flow, validation, and route composition.
Automating lights with Computer Vision & NodeJS
The article proposes using office cameras, OpenCV, and Node.js to detect people in frame quadrants and switch off lights where no one is present, reducing wasted power.
Replacing RVM/Rbenv/Nvm/etc for ASDF
The page recommends ASDF as a single version manager for Ruby and many other languages, with setup steps, plugin management, local and global versions, and notes on reshimming and Ruby build issues.
Node.js + MySQL Example: Handling 100's of GigaBytes of Data
The post explains how Node.js and MySQL can handle billions of rows and hundreds of gigabytes by using indexing, user-based tables, and table partitioning to manage retention and deletions.
Minha aplicação NodeJS está pronta! E agora?
O texto mostra como publicar uma aplicação NodeJS em um servidor Linux usando NGINX como proxy reverso, instalar NodeJS, NPM e Forever, e manter o processo em execução.
NodeJS + Restify + PassportJS + Facebook + Bearer
O texto apresenta um fluxo de autenticação para API REST com Restify e PassportJS sem sessões, usando Facebook OAuth para validar o usuário localmente e devolver um JWT para as requisições seguintes.
Beginner’s Guide to Installing Node.js on a Raspberry Pi
The tutorial shows how to prepare a Raspberry Pi 2 or 3, install Raspbian, configure Wi-Fi and remote access, and then add Node.js from NodeSource so the system can run and be updated normally.
Optimize (Concatenate and Minify) RequireJS Projects
The article shows how to use the RequireJS Optimizer with a build profile to concatenate and minify a TodoMVC Backbone.js app, reducing requests and file size while keeping the app behavior the same.
The Sad State of Web Development
The author argues that modern web development has become over engineered, especially in the Node, frontend, and SPA ecosystems, and says most apps should avoid framework-heavy rewrites.
How to Become a Better Node.js Developer in 2016
The page lists Node.js practices for development and operations: use ES2015 features, support callbacks and Promises, handle errors carefully, standardize style, monitor apps, and keep dependencies and releases current.
10 Habits of a Happy Node Hacker (2016)
Heroku lists ten habits for app developers using Node.js: start with npm init, lock dependencies, use ES6, keep filenames lowercase, cluster apps, rely on environment variables, manage garbage collection, hook npm scripts, ignore generated files, and simplify builds and code.
Arduino Node.js RC Car Driven with the HTML5 Gamepad API
The post shows how a browser gamepad can feed steering and pedal data to a Node.js server, which relays it through WebSockets and serial output to an Arduino-driven RC car.
On problems with threads in node.js
The article shows how Node.js relies on libuv’s thread pool for asynchronous work, why the default pool size can limit parallelism, and how that can block other tasks.
600k concurrent websocket connections on AWS using Node.js
The post explains how to push an AWS EC2 instance toward 600k persistent websocket connections by choosing Node.js, using ws and sticky-session, and raising V8 and system limits.
Java vs. Node.js: An epic battle for developer mind share
The article compares Java and Node.js across tooling, libraries, debugging, speed, threading, and code reuse, arguing that Java is stronger in mature infrastructure while Node.js wins on ubiquity and simplicity.
Guardian by Mashape
Guardian reduces OAuth handling to a single request, uses plugins for different flows, supports production and testing, and exposes HTTP routes for storing and starting authentication.
Tutorial: Build your own Google TV Using RaspberryPi, NodeJS and Socket.io
The tutorial shows how to build a proof-of-concept Google TV with Raspberry Pi, Raspbian, Node.js, Socket.io, Chromium, YouTube-dl, and OMXPlayer, then connect a remote and screen through WebSockets.
Felix's Node.js Convincing the boss guide
The guide says node.js fits JSON APIs, single-page apps, streaming, soft real-time systems and Unix tool integration, but it is a poor choice for CPU-heavy apps, simple CRUD sites and risky stacks built around buzzword-driven NoSQL.
10 reasons the browser is becoming the universal OS
The article argues that HTML, CSS, and JavaScript have turned the browser into the main software platform because web apps, plug-ins, openness, portability, shared libraries, competition, graphics, and Node.js keep moving work into the browser.
Building Multiplayer Games with Node.js and Socket.IO
The article explains how Anagrammatix uses Node.js, Express, and Socket.IO to run a real-time multiplayer word game across a host screen and mobile controllers, with server-managed rooms and events.
Writing Custom Yeoman App Generators
The page explains how Yeoman generators scaffold projects, distinguishes boilerplate copiers from app scaffolders, and shows how to build generators with prompts, templates, file writes, hooks, and dependency installs.
Run Node.js as a Service on Ubuntu
The post explains why running Node in the background with `&` is fragile and shows how to use Upstart on Ubuntu to restart a Node program, log output, and run it with limited privileges.
Vagrant, setuping machine for Node.js - Chef failure - Stack Overflow
The Chef run fails because Vagrant cannot find the `nodejs` cookbook. The issue is resolved by renaming the cookbook folder to `nodejs` and correcting the Vagrant recipe reference.
How to include route handlers in multiple files in Express
The page shows one way to load every route file in a routes directory by reading the folder, skipping index.js, requiring each module, and calling it with app from app.js.
Nodejs - A performance que eu sempre quis ter
A apresentação relaciona o crescimento de usuários de internet e redes sociais com a necessidade de arquiteturas que respondam rápido e lidem com muitos requests, destacando I/O não bloqueante e o V8 do Node.js.
