set up a nodejs project code example
Example 1: setup node js express basic setup
npm init -y
npm i express
Example 2: build and serve project build node js npm
# in terminal cd to project root dir
# to build project:
npm run build
# to serve/host project locally:
serve -s ./build