Express - Starter

anonymous·2021년 9월 11일
0

Express Application Generator

npm install express-generator -g
express projectname

cd projectname
npm install

# Run projectname on Windows with Command Prompt
SET DEBUG=projectname:* & npm start

# Run projectname on Windows with PowerShell
SET DEBUG=projectname:* | npm start

# Run projectname on Linux/macOS
DEBUG=projectname:* npm start

Result in http://127.0.0.1:3000/

REF

https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/development_environment

profile
기술블로거입니다

0개의 댓글