start project by express js code example Example 1: setup node js express basic setup npm init -y npm i express Example 2: generate express app $ npx express-generator