express js init project code example Example 1: setup node js express basic setup npm init -y npm i express Example 2: express-generator $ npm install