- NodeJS + Express Back-End Server Generator
- express-generator through the 21st century
Enable ES5+ module syntax
Set default view to pug
Change the template source code to conform to ES5+ grammar
If you have an existing express-21c installed, delete it and then run it.
npm uninstall -g express-21c
- new version create project
npx express-21c my_project --view=pug
cd my_project
npm install
nodemon
- Source Code refactoring
- Add the following code to your app.js file
// Disable the fingerprinting of this web technology. 경고 방지(avoid warning)
`app.disable("x-powered-by");`
- MySQL and Sequelize init sample
npx express-21c [project] --pug --sequelize
- Mac and Linux Bug Patch
- Dependency Upgrade
npx create project