Code Monkey home page Code Monkey logo

koa2-base's Introduction

koa2-base

目录结构

├─ config/              // 用于存放配置文件
├─ controller/          // 用于解析用户的输入,处理后返回相应的结果
├─ errorPage/           // http 请求错误时候,对应的错误响应页面
├─ logs/                // 项目运用中产生的日志数据
├─ models/              // 用于编写业务逻辑层,比如连接数据库,调用第三方接口等
├─ middleware/          // 中间件集中地,用于编写中间件,并集中调用
├─ public/              // 用于放置静态资源
├─ utils/               // 用于放置工具类
├─ views/               // 用于放置模板文件,返回客户端的视图层
├─ router.js            // 配置 URL 路由规则
├─ .gitignore           // git忽略文件
├─ app.js               // 用于自定义启动时的初始化工作,比如启动 https,调用中间件,启动路由等
├─ package.json         // 项目配置版本依赖管理文件
└─ package-lock.json    // 项目配置版本依赖管理锁文件

koa2-base's People

Contributors

kiwi520 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.