Welcome to download the http service based on koa2 (commonly used plugins for koa)

Flexible and portable http service based on koa, welcome to download and use

Download project address

  • Project: http service based on koa (node ​​small background)
  • Description:
    -1. Used for testing by front-end developers
    -2. Building basic templates in the background

advantage

  • Very light and small, very flexible
  • Detailed notes, start super fast
  • Very suitable to be the basic template of the node backend, saving time and cost
  • The file structure is clear, "The sparrow is small, but it has all the internal organs"
  • Very good scalability

Project basic environment

Run project steps

  • 1. After downloading and decompressing, open the file, and the installation depends on npm install
  • 2. After installing the dependencies, enter node app.js

Functions completed

  • Support mongo database storage
  • Support view management module
  • Support cross-domain
  • Support static resource management
  • Developed in MVC mode, the file directory is clean and simple
  • Can be used as a basic template for background development
  • 。。。

Plug-in used

  • ejs: “^3.1.3”,
  • also: “^2.12.1”,
  • also router: “^9.0.1”,
  • koa-static: “^5.0.0”,
  • koa-views: “^ 6.2.3”,
  • koa2-cors: “^ 2.0.6”
  • koa-bodyparser: “^ 4.3.0”,
  • mongoose: "^5.9.18

Relevant information

Next-generation web development framework based on Node.js platform

Click a star to support the author, thanks!

Guess you like

Origin blog.csdn.net/XINpxXIN/article/details/106767793