* http://html2jade.org/ * https://darkmodejs.learn.uno/ * https://blog.csdn.net/weixin_39923599/article/details/111214071 * https://pugjs.org/language/attributes.html * https://blog.meathill.com/tech/fe/interpolation-in-pug-with-extends.html 可参考项目 - https://github.com/hks-epod/paydash 增加测试库 - @hapi/code - @hapi/lab 暂时不太清楚怎么结合使用 ## 对于验证库的处理方式参考 https://docs4dev.com/questions/345443 https://github.com/nelsonic/hapi-validation-question ## 缓存 https://github.com/hapijs/catbox-redis/blob/master/test/cluster.js https://hapi.dev/module/catbox/api/?v=12.1.0 https://juejin.cn/post/7067093432737398792 https://blog.csdn.net/qq_31155349/article/details/109013323 https://blog.csdn.net/tiger1334/article/details/93468736 docker build -t hapi-website -f ./Dockerfile ./ docker run -itd --name website -p 8899:3388 hapi-website /bin/bash docker run -itd --name website -p 8899:3388 hapi-website 去除/bin/bash看会运行么 docker exec -it 容器ID /bin/bash ## 清除 docker stop 容器ID docker container prune docker image rm 镜像名 docker image ls -a docker container ls -a https://blog.csdn.net/LIFENG0402/article/details/117930091 ## 使用事务 https://sequelize.org/docs/v6/other-topics/transactions/#:~:text=The%20sequelize.transaction%20method%20accepts%20options.%20For%20unmanaged%20transactions%2C,%28options%29.%20For%20managed%20transactions%2C%20use%20sequelize.transaction%20%28options%2C%20callback%29. docker-compose up -d docker-compose down