start proyect expressjs code example Example 1: setup node js express basic setup npm init -y npm i express Example 2: initialize express app npx express-generator