Code Monkey home page Code Monkey logo

spring's Introduction

  1. run.py 工程的入口
  2. mannage.py 迁移数据库入口
  • python3 manage.py db init
  • python3 manage.py db migrate
  • python3 manage.py db upgrade
  1. api_server.py 接口服务器
  2. requirements.txt 虚拟环境依赖
  • pip install -r requirements.txt
  1. utils/exts.py 连接数据库模块
  2. utils/model.py 实体模型类
  3. test/ 测试类文件夹 -> 参见test_command.md
  4. templates 前端视图
  5. static 静态文件
  6. sql 存放sql文件夹
  7. migrations 迁移数据库文件(系统自动生成)
  8. log 日志文件夹
  9. constant/ResultEnum.py 常量等存放文件夹/返回值枚举类
  10. config/db_config.py 数据库配置文件
  11. config/logger.conf 日志配置文件
  12. requirements_dev.txt 比requirements.txt多的是单元测试依赖库
  13. scripts/ 项目用到的各种脚本
  14. docs/ 项目文档
  15. wiki/ wiki文档
  16. extras/ 扩展,不属于项目必需的部分,但是与项目相关的sample、poc等,下面给出4个
  • 例子:
    dev_example/
    production_example/
    test1_poc/
    test2_poc/
  1. .gitignore git忽略文件
  2. author.md 作者

spring's People

Contributors

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