Introduction

ndsk (node ​​stack) is a next-generation full-stack framework for JavaScript developers. It is designed to be very simple, allowing you to create secure, high-performance, high-quality programs with minimal code. It has powerful routing, flexible layout modes, fast compilation speed, extensible plug-ins and middleware, and supports server-side rendering (SSR), client-side rendering (CSR), static rendering (SSG), and hybrid mode SSCR. It almost makes up for all the shortcomings of other frameworks, all for the purpose of improving development efficiency.

Why did I write this framework?

  • Implement a nodejs full-stack development framework based on the MVC pattern, used to improve the development efficiency, so that developers can concentrate on business logic rather than spending on various configurations.
  • If you’re using nextjs as a full-stack developer, you’ll notice that nextjs always likes to mix back-end business logic with front-end in server-side rendering, which is not easy to maintain later on, and in combination with express or hapi as a back-end developer, the features like hot updating and layout are disabled, and you have to automate the development with the help of tools like You have to use tools like nodemon to automatically restart to realize the reload function, which is a very bad experience and greatly reduces the development efficiency.
  • This framework is designed to solve a variety of pain points, if you have a better idea, you can put forward your suggestion on GitHub and give a Star if interested.

Main advantages:

  • Safe, compared with other frameworks designed to be more simple, powerful, out-of-the-box support, without any additional configuration
  • Support server-side rendering (SSR), CSR, SSG, SSCR and other rendering modes, the first screen rendering speed is super fast, very SEO friendly!
  • Automatically optimize the packing volume, build speed is super fast, about 10-100 times faster than other frameworks.
  • Support server-side hot update , each time you modify the code without having to restart the server with the help of tools such as nodemon .
  • Support for real-time page reload , modify the front-end components and back-end routing can automatically refresh the page .
  • Supports detailed error stack tracking in development mode.
  • fast startup , it is dynamically compiled based on page requests , rather than having to compile all the pages each time you start .
  • Automatic compilation, supports Javascript\ES5\ES6+\TypeScript, you can use Javascript\TypeScript to write code at the same time, without unification
  • Powerful routing features, support for dynamic routing
  • Compared with other frameworks, support for more flexible layout patterns, more simple
  • Use react renderToPipeableStream to render the page , support lazy, Suspense asynchronous loading.
  • Built-in mongodb and other major modules , no additional configuration , while supporting front-end , back-end , and full-stack development .

ndsk is the fastest framework currently

Comparison under Ubuntu:

frame          start up(Development) Build First screen loading(DOMContentLoaded)
Ndsk ~ 0.4s ~ 0.4s ~ 0.008s
Remix ~ 0.7s ~ 1.7s ~ 0.010s
Next ~ 2.2s ~ 8s ~ 0.008s

Donate

You can donate to me through the following link

Next step

How to install