Setup Backend with Node JS

PHOTO EMBED

Thu Apr 20 2023 07:03:03 GMT+0000 (Coordinated Universal Time)

Saved by @MuhammadAhmad #spreadoperator

Step 1 (This is the step one)
npm init
Step 2 (This is the step 2 install general dependencies)
npm i nodemon mongoose dotenv bcrypt jsonwebtoken cookie-parser express
Step 3 
Make following folders 
1) controllers
2) models
3) routes
4) utils
5) .env
6) server.js and then make change in package json file => "scripts": {
    "start": "nodemon index.js"
  },
    
Explore this=>https://github.com/safak/youtube2022/tree/mern-booking/api
content_copyCOPY