summary of rest-hapi 's Configuration
key points:
1.modelPath(defalut:models)
2.apiPath(defalut:api)
3.URI(defalut:mongodb://localhost/rest_hapi)
4.config.logRoutes(replace it with true)
5.config.swaggerHost(use your api host)
key points:
1.modelPath(defalut:models)
2.apiPath(defalut:api)
3.URI(defalut:mongodb://localhost/rest_hapi)
4.config.logRoutes(replace it with true)
5.config.swaggerHost(use your api host)
展开
评论
1