Create a folder in your system where you want to start project
Get into that folder click right-click open cmd/powershell type "code ." .(vscoode will be open)
Open terminal in vscode or (ctrl+~) follow the below to install regular dependencies.
- npm init -y
- npm i express express-validator mongoose request bcryptjs jsonwebtoken gravatar config
*Also install below dependencies as dev dependencies *
npm i -D nodemon concurrently
If you get any trouble to install dependencies try installing one by one
Create account in mongoDb atlas and login.
Click on build database.
Select free shared.
Choose your local region country/continent for low latency.
Name cluster name and save.
Add user to the db.
Set ip to 0.0.0.0/0
You can check videos below