Giter Club home page Giter Club logo

zjaccelerator-ims-server's Introduction

koa服务器搭建


文件解析

- path
    - database.sqlite #嵌入式数据库文件
- src
    - app #服务器业务(为了与入口文件分离)
        - errHandler.js
        - index.js 
    -config #用于dotenv配置
        - config.default.js
    -const #定义错误类型常量
        - err.type.js
    - controller #控制器处理业务
    - database #用于数据库连接
    - middleware #中间件
        - auth.middleware.js
        - 
    - model #基于sequelize的数据库对象
        persons.model.js
        user.model.js
    - router #路由
        - index.js
        - person.router.js
        - user.router.js
    - service #数据库处理服务
        - person.service.js
        - user.service.js
    - upload #保存上传的头像
        - ... #所有头像图片文件
    - main.js #服务器入口文件,npm start打开该文件
- test #测试文件
    -test.html
- .env

zjaccelerator-ims-server's People

Contributors

rollroll520 avatar

Stargazers

 avatar

Watchers

 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.