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
- Node environment (stable version greater than 6.0 is recommended)
- Install a Robot3T to view the data in the database
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