open your terminal and type npm init -y
installing packages
open your terminal and type this -->
--> npm i mongoose express body-parser colors nodemon
open your package.json file and add in script with coma like this:
"script": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "nodemon src/app.js"
}
Go to src/database folder and open connect.js file and change your mongodb database link
open your terminal and type
npm run dev
open your chrome browser and type this line
localhost:8000