- 21세기를 통과하는 express-generator
express-generator through the 21st century
- ES6+ 문법을 사용할 수 있도록 설정
Enable ES6+ syntax - 기본 view를 pug로 설정
Set default view to pug - ES6+ 문법에 맞도록 Template 소스 코드 변경
Change the template source code to conform to ES6+ grammar
npm install -g express-21c
express my_project && cd my_project
npm uninstall -g express-21c
npx express-21c my_project --view=pug && cd my_project
-
app.js 파일에 다음 코드 추가
Add the following code to your app.js file// Disable the fingerprinting of this web technology. 경고 방지(avoid warning)
app.disable("x-powered-by");
- Source Code refactoring
- MySQL and Sequelize init sample
express project --pug --sequelize
- Mac and Linux Bug Patch
- Dependency Upgrade
npx 설치 방법 추가