First make sure you have latest version of NodeJs installed in your computer.

mkdir realist
cd realist
mkdir server
cd server
npm init -y
code .

Install dependencies

npm i express nodemon morgan mongoose jsonwebtoken bcrypt nanoid cors email-validator slugify node-geocoder