Giter VIP home page Giter VIP logo

daike-server's Introduction

Author JianShu Blog

启动

npm install

node app.js

源码目录介绍

├── app                        // 主项目目录
│   ├── controllrts            // 控制器目录
│   │   └── ...                // 各个表对应的控制器
│   ├── middleware             // 中间件目录
│   │   └── resFormat.js       // 格式化返回值(我目前没用) 
│   ├── models                 // 表目录
│   │   ├── course.js          // 课程表
│   │   ├── example.js         // 举例用的表(请忽略)
│   │   ├── password.js        // 密码表
│   │   ├── school.js          // 学校表
│   │   └── user.js            // 用户表
│   └── utils                  // 工具库
│   │   ├── formatDate.js      // 时间格式化
│   │   └── passport.js        // 用户密码加密和验证工具
├── db-daike                   // 数据库导出的 json 文件(没地方放就放这了)
├── routes                     // 路由目录
│   └── api                    // 接口目录
│   │   ├── course_router.js   // 课程相关接口
│   │   ├── example_router.js  // 举例用的接口
│   │   ├── school_router.js   // 学校相关接口
│   │   └── user_router.js     // 用户相关接口
├── app.js                     // 项目入口
└── config.js                  // 基础配置信息

daike-server's People

Contributors

guodong0202 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.