open the project in vs code and run command npm init -y then install node modules by typing npm i express path mongoose hbs (make changes according to your needs)