[{"title":"( 80 个子文件 156KB ) hapi-api-base:基于Hapi的API的基本代码","children":[{"title":"hapi-api-base-master","children":[{"title":".babelrc <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":"hooks","children":[{"title":"index.js <span style='color:#111;'> 396B </span>","children":null,"spread":false},{"title":"message.js <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 155B </span>","children":null,"spread":false}],"spread":true},{"title":"docs","children":null,"spread":false},{"title":"jsconfig.json <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false},{"title":"data","children":[{"title":"db","children":[{"title":".gitignore <span style='color:#111;'> 127B </span>","children":null,"spread":false}],"spread":true},{"title":"memcached","children":[{"title":".gitignore <span style='color:#111;'> 127B </span>","children":null,"spread":false}],"spread":true},{"title":"redis","children":[{"title":".gitignore <span style='color:#111;'> 127B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"._travis.yml <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"webstorm.js <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"jest.config.js <span style='color:#111;'> 408B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":".env.example <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"config","children":[{"title":"index.js <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"cache","children":[{"title":"redis.js <span style='color:#111;'> 566B </span>","children":null,"spread":false}],"spread":false},{"title":"test.js <span style='color:#111;'> 99B </span>","children":null,"spread":false},{"title":"database","children":[{"title":"mongodb.js <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":false},{"title":"development.js <span style='color:#111;'> 291B </span>","children":null,"spread":false},{"title":"production.js <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"slack.js <span style='color:#111;'> 222B </span>","children":null,"spread":false}],"spread":false},{"title":"index.js <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"plugins","children":[{"title":"index.js <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"database","children":[{"title":"mongodb","children":[{"title":"schemas","children":[{"title":"index.js <span style='color:#111;'> 19B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"api","children":[{"title":"events","children":[{"title":"index.js <span style='color:#111;'> 131B </span>","children":null,"spread":false},{"title":"routes.js <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"controller.js <span style='color:#111;'> 539B </span>","children":null,"spread":false}],"spread":false},{"title":"health","children":[{"title":"index.js <span style='color:#111;'> 131B </span>","children":null,"spread":false},{"title":"routes.js <span style='color:#111;'> 237B </span>","children":null,"spread":false},{"title":"controller.js <span style='color:#111;'> 227B </span>","children":null,"spread":false}],"spread":false},{"title":"webhooks","children":[{"title":"index.js <span style='color:#111;'> 133B </span>","children":null,"spread":false},{"title":"routes.js <span style='color:#111;'> 420B </span>","children":null,"spread":false},{"title":"controller.js <span style='color:#111;'> 581B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"services","children":[{"title":"discovery","children":[{"title":"index.js <span style='color:#111;'> 843B </span>","children":null,"spread":false}],"spread":false},{"title":"events","children":[{"title":"index.js <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"listeners","children":[{"title":"index.js <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"base.js <span style='color:#111;'> 629B </span>","children":null,"spread":false},{"title":"base.test.js <span style='color:#111;'> 593B </span>","children":null,"spread":false},{"title":"exampleEvent.js <span style='color:#111;'> 258B </span>","children":null,"spread":false}],"spread":false},{"title":"service.js <span style='color:#111;'> 457B </span>","children":null,"spread":false}],"spread":false},{"title":"slack","children":[{"title":"service.test.js <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"service.js <span style='color:#111;'> 687B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"utils","children":[{"title":"cache","children":[{"title":"index.js <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"memory.js <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"redis.js <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false}],"spread":false},{"title":"extensions","children":[{"title":"index.js <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"onPreHandlerEvent.js <span style='color:#111;'> 110B </span>","children":null,"spread":false},{"title":"onRequestEvent.js <span style='color:#111;'> 335B </span>","children":null,"spread":false}],"spread":false},{"title":"model","children":[{"title":"index.js <span style='color:#111;'> 487B </span>","children":null,"spread":false}],"spread":false},{"title":"http","children":[{"title":"index.js <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"index.test.js <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"statusCodes.js <span style='color:#111;'> 346B </span>","children":null,"spread":false}],"spread":false},{"title":"logger","children":[{"title":"index.js <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"logger.test.js <span style='color:#111;'> 802B </span>","children":null,"spread":false}],"spread":false},{"title":"validator","children":[{"title":"index.js <span style='color:#111;'> 851B </span>","children":null,"spread":false},{"title":"index.test.js <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"helpers","children":[{"title":"objects.js <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"string.test.js <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"units.js <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"units.test.js <span style='color:#111;'> 327B </span>","children":null,"spread":false},{"title":"objects.test.js <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"string.js <span style='color:#111;'> 858B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":".eslintrc.js <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":".huskyrc <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"init.js <span style='color:#111;'> 206B </span>","children":null,"spread":false},{"title":"docker","children":[{"title":"local","children":[{"title":"local.sh <span style='color:#111;'> 137B </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"start.sh <span style='color:#111;'> 130B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"docker-compose.yml <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"run.sh <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 76B </span>","children":null,"spread":false},{"title":".dockerignore <span style='color:#111;'> 28B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 299.92KB </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 25B </span>","children":null,"spread":false},{"title":"nodemon.json <span style='color:#111;'> 53B </span>","children":null,"spread":false},{"title":".vscode","children":[{"title":"launch.json <span style='color:#111;'> 929B </span>","children":null,"spread":false},{"title":"settings.json <span style='color:#111;'> 26B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]