Reference

GitbookKb2021-01-29


🪕Gatsby


创建静态网站(static site generator),CMS,博客,托管静态资源

  • JAMstack: JavaScript, APIs, and Markup
  • gatsby + nginx
  • wordpress 的角色。
  • markdown
  • graphQL

🪕gitbook


GitBook 是一个基于 Node.js 的命令行工具,用于将 markdown 文本生成管理文档。

🪕docker


  • docker + microservice
  • 第三方资源的使用,配置,管理

🪕webassembly


WebAssembly/wasm WebAssembly 或者 wasm 是一个可移植、体积小、加载快并且兼容 Web 的全新格式.

Mozilla、谷歌、微软和苹果已经决定开发一种面向 Web 的二进制格式。该格式名为 WebAssembly,可以作为任何编程语言的编译目标,使应用程序可以运行在浏览器或其它代理中。

WebAssembly 对 JavaScript 而言可不是一个好消息。通常,由多个大型公司共同开发的项目需要花费大量的时间。在这种情况下,标准化过程非常 缓慢。

🪕nestjs


Nest 是构建高效,可扩展的 Node.js Web 应用程序的框架。在底层,Nest 使用了 Express,可以方便地使用各种可用的第三方插件。

  • 很 Angular
  • Microservices

    • RabbitMQ
    • gRPC
    • Redis
    • Kafka
  • nestJS vs Express

Express is meant for solving problems like routing, body parsing, etc.

NestJS is meant for better structuring your code - it allows you to write clearer, reusable code, adds some higher level constructs like interceptors, filters, etc. It does that, however using Express’ middleware.

🪕nextjs


  • next.js: SSR, React 和 Node.js。
  • nextjs, gatsbyjs, JAMstack

The fundamental difference is Next requires a server to be able to run. Gatsby can function without any server at all. Gatsby just generates pure HTML/CSS/JS at build time , whereas Next creates HTML/CSS/JS at run time . So each time a new request comes in, it creates a new HTML page from the server

  • nestJS vs Express

Express is meant for solving problems like routing, body parsing, etc.

NestJS is meant for better structuring your code - it allows you to write clearer, reusable code, adds some higher level constructs like interceptors, filters, etc. It does that, however using Express’ middleware.

🪕sanity.io


Sanity.io 是另一个顶级 Node.JS 框架,是基于 Node 的无头 CMS 系统, 可以从一个地方管理所有内容。

Sanity.io + Gatsby.js = Perfect JAMstack companions: Blazing fast development with Gatsby and Sanity.io

A company website built with Gatsby

  • 📡 Real-time content preview in development
  • ⏱ Fast & frugal builds
  • 🗃 No accidental missing fields/types
  • 🧰 Full Render Control with Portable Text
  • 📸 gatsby-image support
  • 🔧 Minimal configuration

Sanity Studio with schemas for

  • 🏢 Company info
  • 📃 Pages
  • 👨🏼‍🎨 Projects
  • 👩🏾‍💻 People
  • 📰 Blog posts

🪕gitee


类似于 github, bitbucket, 中文托管平台。

  • ant-design-vue

🪕 几个流行的 Node.js 框架


  • prismjs: Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.
  • Prisma.io: 一个开源的数据库工具包, Modern Database Access for TypeScript & Node.js
  • Loopback.js: Loopback 是建立在 Express.JS 之上的。当它与一些 Node.js 模块结合在一起时,Loopback 可以很容易地用于为应用程序构建 REST API。Loopback 使你可以创建很少或不需要编码的 API。
  • Hapi.js: 身份验证,缓存和输入验证的可用性。
  • Koa.js: 体积小, 异步函数, 没有了回调

🪕OpenAPI


  • Markdown
  • Swagger spcification
  • OpenAPI to Markdown: widdershins

Swagger is the world’s largest framework of API developer tools for the OpenAPI Specification(OAS), enabling development across the entire API lifecycle, from design and documentation, to test and deployment.

📑 semver.org, license

版本,许可生成工具

📑 gRPC

📑 Micro Fronts

🪕 More