lxiaoixi / koa2_Sequelize_project

基于nodejs的后台架构设计 web框架koa.js orm框架Sequelizejs 数据库mysql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

koa2-�Sequelize—project

基于nodejs的后台架构设计

web框架koa.js orm框架Sequelizejs 数据库mysql

koa middleware framework for nodejs

Installation

Koa requires node v7.6.0 or higher for ES2015 and async function support.

$ npm install koa -g
$ npm i
$ npm start 
访问 http://localhost:3000/

项目的目录与文件结构

   ├── bin //node的启动文件
   ├── controllers //控制器
   ├── model  //数据库模型映射
   ├── public //静态文件
   ├── routes //路由文件
   ├── services //业务层
   ├── docs  //api  markdown 编写api
   ├── util //针对本项目工具类
   ├── package.json //nodejs的包管理和分发工具
   ├── view �//存放视图文件
   ├── README.md �//项目说明
   └── config //数据库配置   

About

基于nodejs的后台架构设计 web框架koa.js orm框架Sequelizejs 数据库mysql


Languages

Language:JavaScript 80.9%Language:CSS 17.0%Language:HTML 2.1%