Skip to content

liuwill/simple-track-service

Repository files navigation

Simple Track Service

Build Status codecov Maintainability

Attend to build a track server for some other app, with as less component as possible for unique purpose

代码结构

simple-track-service
  |
  ├─── node_modules            # 项目代码依赖的第三方库
  |    └─── *
  ├─── app                     # 程序代码
  |    ├─── index.js           # 启动服务的脚本
  |    ├─── entry.js           # 初始化接口和路由
  |    ├─── server.js          # 对http模块server的封装
  |    ├─── router.js          # 简单实现的路由
  |    ├─── setting.js         # 读取业务配置文件
  |    ├─── track.service.js   # 将要实现的功能逻辑
  |    ├─── utils.js           # 一些工具方法
  |    └─── httpClient.js      # 对http模块client的封装
  ├─── config                  # 业务配置文件
  |    └─── *
  ├─── test                    # 单元测试代码
  |    └─── *
  ├─── Makefile                # 封装运行服务的命令
  ├─── README.md               # 说明
  ├─── .env                    # 通过环境变量配置的关键信息
  ├─── start.sh                # 读取.env并启动服务器的脚本
  └─── index.js                # 程序入口文件

About

🔍simple track service for some app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published