这款小程序可以方便您每天记录体重、血压、心率,方便您管理自己的心血管健康。还可以与您的家人分享你们的健康记录。即使分隔两地,也能随时了解彼此的心血管健康情况。
Coming soon...
如果你觉得这个小程序有不完善的地方,可以直接给我开 issue 或者 PR。
非常欢迎来自你们的 issue 和 PR!
MIT
心血管健康助理小程序代码仓库
这款小程序可以方便您每天记录体重、血压、心率,方便您管理自己的心血管健康。还可以与您的家人分享你们的健康记录。即使分隔两地,也能随时了解彼此的心血管健康情况。
Coming soon...
如果你觉得这个小程序有不完善的地方,可以直接给我开 issue 或者 PR。
非常欢迎来自你们的 issue 和 PR!
MIT
http://localhost:3000/ch/api/login本地服务没法正常调用
const app = new Koa()
app.use(LoggerMiddleware)
app.use(bodyParser())
app.use(rewrite(/ch/*
, '/$1'))
app.use(ApiResponserMiddleware)
app.use(AuthMiddleware(//login$/)) -- 不处理login
app.use(router.prefix('/api').routes())
看了逻辑,应当是用webchat这个router执行的,但是结果没有到这里router处理。
er npm start
[email protected] start /Users/grayson/Desktop/cardiovascular-tracker-master/server
tsc && NODE_ENV=production node dist/main
node_modules/@types/koa/index.d.ts:24:57 - error TS2307: Cannot find module 'http2'.
24 import { Http2ServerRequest, Http2ServerResponse } from 'http2';
~~~~~~~
src/lib/middlewares/api-responser.ts:36:9 - error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.
36 if (error instanceof UserError && process.env.NODE_ENV === 'production') {
~~~~~
src/lib/middlewares/validate.ts:14:58 - error TS2345: Argument of type 'ErrorObject[] | null | undefined' is not assignable to parameter of type 'ErrorObject[] | undefined'.
Type 'null' is not assignable to type 'ErrorObject[] | undefined'.
14 else throw new ValidationFailureError(ajv.errorsText(validator.errors))
~~~~~~~~~~~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] start: tsc && NODE_ENV=production node dist/main
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/grayson/.npm/_logs/2018-10-26T12_58_03_219Z-debug.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.