npm init -y - creates package.json (no need to do this it's already in there)
Run these commands: make sure you dont overwrite package-lock.json and package.json
npm i express npm i -D nodemon npm i ejs npm i dotenv pg
After completing these, you can create a .env file based on .env.template