Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NodeJS deployment & dev & debug & TDD( express mongo API Test ) #142

Closed
victoryw opened this issue Aug 18, 2017 · 0 comments
Closed

NodeJS deployment & dev & debug & TDD( express mongo API Test ) #142

victoryw opened this issue Aug 18, 2017 · 0 comments
Milestone

Comments

@victoryw
Copy link
Owner

victoryw commented Aug 18, 2017

demo is on https://github.com/victoryw/express-api-test-learn

Nodejs mongodb

express

mongodb setup

mongoose

node debugger + node inspector

Node 调试指南 —— Inspector 协议
node-debug 三法三例之node debugger + node inspector

webstorm/IntelliJ

edit the configuration of nodejs as that:

node inspector:  node location
Working directory: code base
JS file: the main.js
Environment Variables:   DEBUG=application

Typescript + express + webstorm/VS code + debug

typescript + vs code
typescript-2-express-mongoose-mocha-chai

TDD of nodejs

Using Mockgoose in express app integration test
Writing Good Tests for NodeJS APIs
Mocha和Should、Supertest模块搭建Node.js单元测试环境
a-tdd-approach-to-building-a-todo-api-using-node-js-and-mongodb
https://developers.redhat.com/blog/2016/03/15/test-driven-development-for-building-apis-in-node-js-and-express/

Nodejs 生产环境部署

解读Nodejs多核处理模块cluster

异常处理

Express 框架中对错误的统一处理
[天猫双11前端分享系列(四):大规模 Node.js 应用] (tmallfe/tmallfe.github.io#28)
http://nqdeng.github.io/7-days-nodejs/#6.2.3

@victoryw victoryw added this to the 2017-08-27 milestone Aug 18, 2017
@victoryw victoryw closed this as completed Sep 3, 2017
@victoryw victoryw changed the title NodeJS TDD express mongo API Test NodeJS deployment & dev & debug & TDD( express mongo API Test ) Sep 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant