Next Generation Code Architecture for Building Maintainable Node Applications - Juri Strumpflohner

Learn how to build maintainable Node applications with NX, an open-source tool providing code scaling, modularization, automation, and more, including domain modules, code generation, and integrations with popular editors.

Key takeaways
  • NX is an open-source tool for building maintainable Node applications. It provides features like code scaling, modularization, and automation.
  • NX is designed to work with monorepos, but can also be used with standalone projects.
  • NX provides a lot of extensions and plugins that can be used to customize the tooling and workflow.
  • One of the key features of NX is its ability to generate code automatically, including plugins and libraries.
  • NX has a strong focus on developer experience, with features like autoloading and caching to improve performance.
  • NX can be used with a variety of Node frameworks, including Fastify, Express, and Koa.
  • The organization’s team has developed extensions for various editors, such as VS Code.
  • Another important aspect of NX is the concept of domain modules, which allows developers to structure their code in a modular and reusable way.
  • The slides also showcase some examples of how to use NX, such as creating local libraries and plugins, and how to generate code using the tool.
  • NX provides a generator for creating new plugin, which can be used to automate the process of creating new libraries.
  • The slides also mention the concept of code scaling, which allows developers to write code that can be reused across multiple projects.
  • The team has also developed a set of rules and guidelines for using NX, which include best practices for structuring code and using the tool.
  • NX is open-source and has a strong community of developers who contribute to the project and provide support.