Best of Node.jsJune 2022

  1. 1
    Article
    Avatar of hashnodeHashnode·4y

    Role-Based Authorization in NodeJs

    Authentication and authorization in Express.js can be achieved easily using middleware functions. To make things easier we made available some starter files if you would like to code along. The finished version lies on the main branch while the starter files are on the starter branch. We made everything simple enough so just anyone whether a beginner or intermediate developer can follow along.

  2. 2
    Article
    Avatar of devgeniusDev Genius·4y

    Wasp — language for developing full-stack Javascript web apps with no boilerplate

    Wasp is a new programming language for developing full-stack web apps with less code. It makes developing web apps easy while still allowing you to use the latest technologies like React, Node.js, and Prisma. In this post, we will share with you why we believe Wasp could be a big thing for web development.

  3. 3
    Article
    Avatar of pointerPointer·4y

    elastic/eui: Elastic UI Framework 🙌

    The Elastic UI Framework is a collection of React UI components for quickly building user interfaces at Elastic. As React components, they remove CSS from the process of building UIs. As a single source of truth, the framework allows our designers to make changes to our aesthetic directly in the code. Read the FAQ for details.

  4. 4
    Article
    Avatar of hashnodeHashnode·4y

    Node.js ORMs overview and comparison

    ORM is a library to access the database, high-level library where you can define models, relations. Ideal ORM allows to define queries and then combine and reuse them to construct more complex queries. I'll share my experience of working with 6 popular ORMs including knex which is query builder.

  5. 5
    Article
    Avatar of logrocketLogRocket·4y

    NestJS vs. Express.js

    NestJS is a Node.js framework for building server-side applications. It is based on TypeScript and JavaScript. Most of what you find in Angular can also be found in Nest, including providers, middleware, components, and services. Nest is platform agnostic, meaning it can work with any Node HTTP framework.

  6. 6
    Article
    Avatar of hashnodeHashnode·4y

    I went deep down the NPM docs to learn more about Package.json

    Package.json is the document which contains the most important metadata like packages, scripts which is required to both run and publish the project. NPM requires you to give all the info enclosed in json format. The name property should be equal or less than 241 characters. The allowed characters are ABCDEFGHIJKLMNOPQRSTUVWXYZ.

  7. 7
    Article
    Avatar of pointerPointer·4y

    payloadcms/payload: Free and Open-source Headless CMS and Application Framework built with TypeScript, Node.js, React and MongoDB

    Payload is a free and open-source TypeScript headless CMS & application framework built with Express, MongoDB and React. It's a code-first CMS, which allows us to do a lot of things right. Payload gives you everything you need, but then steps back and lets you build what you want.

  8. 8
    Article
    Avatar of dzDZone·4y

    How to Build Microservices With NodeJS

    Microservices is a type of service-oriented architecture (SOA) It is a component-based model, where an application is structured with well-defined protocols. Some well-known corporate giants that use this architecture in their applications include Netflix, Amazon, Uber, SoundCloud, and many other brands.

  9. 9
    Article
    Avatar of logrocketLogRocket·4y

    Comparing four popular NestJS ORMs

    Object-relational mapping (ORM) is a technique that abstracts your database tables to data objects in memory. ORMs are used to make database access easier, as developers won’t need to write raw queries. For convenience, NestJS provides tight integrations with TypeORM and Sequelize out of the box.

  10. 10
    Article
    Avatar of tuts_plusTuts+·4y

    Authenticating Node.js Applications With Passport

    Node.js applications are no exception to this. In this tutorial, we will use a relatively new but very popular authentication middleware - Passport. We will create a sample Express app from scratch and progress via adding routes to it and authenticating some of those routes. We are creating a Mongoose model which performs CRUD operations on the underlying database.

  11. 11
    Article
    Avatar of omgubomg! ubuntu!·4y

    GitHub Axes Atom Text Editor, Recommends VSCode Instead

    GitHub’s Atom text editor is being discontinued. GitHub says it has decided to ‘retire Atom in order to further our commitment to bringing fast and reliable software development to the cloud’ Microsoft has its own Electron-based coding-come-text-editor in VSCode.

  12. 12
    Article
    Avatar of tshThe Software House·4y

    Deno tutorial. A practical introduction to the rival of Node.js

    Deno is a safe and stable runtime environment for JavaScript and TypeScript baked on the V8 engine. It’s written in Rust and takes full advantage of ES and Promise. Learn more about how it works and how it differs from Node.js in this practical Deno tutorial.

  13. 13
    Article
    Avatar of logrocketLogRocket·4y

    Building an app with Next.js and Electron

    Nextron is a package that combines the powerful features of Next.js and Electron. It allows us to create multi-platform desktop applications in the easiest and most enjoyable way ever. We’ll cover the following sections: setting up your Nextron project, building a demo app, and how Nextron works.

  14. 14
    Article
    Avatar of telerikTelerik·4y

    Master the Event Loop in Node.js

    This post will cover the event loop in Node.js, how it works, its function, and how to use it effectively. To follow along with this post, you need to have: basic knowledge of Node.JS, a code editor, and your PC installed.

  15. 15
    Article
    Avatar of logrocketLogRocket·4y

    Node.js Express test-driven development with Jest

    Node.js now has its own inbuilt test runner that’s been stable since v18. It is still in experimental mode, so it is likely to change over time. In this article, we’ll discuss how to use the new node.js test runner for some basic testing, as well as using Jest for testing different endpoints.

  16. 16
    Article
    Avatar of logrocketLogRocket·4y

    Supercharge your Vue.js and Nuxt.js apps with VueUse

    VueUse is a collection of essential Vue composition utilities. VueUse leverages its power from the API offered by the composition API. It provides more than 200 flexible and typesafe functions that add basic interactions in your components that may otherwise require code from you. Getting started with Vue use is as seamless as adding a utils file.