Best of Node.jsMay 2024

  1. 1
    Article
    Avatar of medium_jsMedium·2y

    The Essential Node.js Guide for Developers of All Levels

    This post provides essential Node.js best practices for developers at all levels. It covers application architecture, code-level practices, performance optimization tips, security tips, and scalability strategies.

  2. 2
    Article
    Avatar of devtoDEV·2y

    The Module System in Javascript

    Mastering the module system in JavaScript is crucial for creating scalable, maintainable, and efficient code. Modules help with code organization, reusability, encapsulation, and dependency management. CommonJS is the first module system in Nodejs, and it uses require() and module.exports to import and export modules. The difference between module.exports and exports is that module.exports replaces the entire exports object, while exports is a shorthand reference to module.exports.

  3. 3
    Article
    Avatar of snykSnyk·2y

    10 modern Node.js runtime features to start using in 2024

    Explore 10 modern Node.js runtime features to start using in 2024. Includes the Node.js test runner, native mocking, test coverage, watch mode, .env loader, import.meta support, native timers with promises, permissions model, and policy module.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    Prisma, Drizzle, TypeORM or Sequalize — When Your Focus Is Scale, Which One To Choose?

    This post discusses the characteristics and strengths of different ORMs in the Node.js ecosystem, including Prisma, Drizzle, TypeORM, and Sequalize. It explores their abilities in terms of query optimization, pagination, join types, nested writes, and bulk inserts. The post concludes that Drizzle is suitable for data-intensive work and complicated scenarios, while TypeORM and Sequalize are recommended for medium complexity cases. Prisma is a good fit for simple CRUD scenarios and full stack teams.

  5. 5
    Article
    Avatar of logrocketLogRocket·2y

    Building a customizable dashboard with Dashy

    Learn how to create a customizable dashboard with Dashy, a free and open source self-hosted dashboard app developed with Vue and Node.js. Dashy allows users to aggregate web service links and widgets into one web page, offering features such as multi-language support, authentication, theme customization, and more. Use cases for Dashy include creating dashboards for home lab servers, managing bookmarks, and storing app and admin page URLs. The article also provides a practical guide on installing and using Dashy via Docker.

  6. 6
    Article
    Avatar of nodejsdevelopersNode.js developers·2y

    Building Real-time Applications with Socket.IO and Node.js

    Learn how to build real-time applications using Socket.IO and Node.js. Socket.IO enables instant data exchange, cross-platform compatibility, and scalability. Set up a Socket.IO server with Node.js and create a real-time chat application.

  7. 7
    Article
    Avatar of devtoDEV·2y

    Unlocking how Socket.io can boost your React app's real-time capabilities

    Learn about Socket.io, a JavaScript library that enables real-time communication between client and server using the WebSocket protocol. Explore the differences between HTTP and WebSocket, and discover how to integrate Socket.io in a React Typescript project.

  8. 8
    Article
    Avatar of communityCommunity Picks·2y

    Publish Your Own NPM Package Easily

    Learn how to publish your own NPM package easily. Create an NPM account, choose a unique package name, initialize git repository and NPM in your project, write your code, create an executable script, test your NPM package, and finally, publish it on the NPM registry. Now you can access your tool anywhere in the world!

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    CRUD App with Prisma ORM & Node.js

    Learn how to create a CRUD App with Prisma ORM and Node.js using TypeScript and PostgreSQL. Prisma is a next-generation ORM tool that simplifies database management and access. Follow the steps to setup a Prisma project, create models, perform database migrations, and perform CRUD operations using Prisma Client.

  10. 10
    Article
    Avatar of medium_jsMedium·2y

    PRISMA 101 : A beginner’s guide to understand prisma.

    Prisma is a powerful ORM that enhances the developer experience when working with databases in Node.js and TypeScript. It simplifies database management, provides type-safe queries, automates migrations, and offers a user-friendly interface.

  11. 11
    Article
    Avatar of nodejsdevelopersNode.js developers·2y

    Awesome Node.js Security resources

    A collection of Node.js security resources available on the 'awesome-nodejs-security' GitHub repository.

  12. 12
    Article
    Avatar of awstipAWS Tip·2y

    Vitest setup with serverless framework: Node.js Express.js

    This post discusses the setup for using Vitest with the Serverless framework for Node.js and Express.js applications. Vitest is presented as a compelling alternative to Jest and Mocha, especially for projects that use TypeScript and modern tooling. It boasts a rich testing ecosystem and features like test coverage and visual test explorers.

  13. 13
    Article
    Avatar of asayerasayer·2y

    Four Ways of Caching Node.JS APIs for High Performance

    Learn about different caching techniques for optimizing Node.js APIs, including in-memory caching, distributed caching, Content Delivery Networks (CDNs), and the Cache-Aside pattern.

  14. 14
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    APIs with Node.js and Express – Course in Spanish for Beginners

    Learn how to develop REST APIs step by step with TypeScript, Node.js, Express, MySQL, and TypeORM. Discover career opportunities in web development with these technologies.

  15. 15
    Article
    Avatar of awstipAWS Tip·2y

    Node.js TypeScript Deployment on AWS Lambda with Jenkins

    Learn how to deploy a Node.js project to AWS Lambda with Jenkins. Install required plugins, add credentials, and create a pipeline to deploy your first Node.js project.

  16. 16
    Article
    Avatar of nodejsdevelopersNode.js developers·2y

    Master Relationships in TypeORM with These Tips

    Learn about relationships in TypeORM, including the types of relationships, options for relationships, and how to use @JoinColumn and @JoinTable.