- Install Git Bash
- git init
- git add .
- git commit -m "Initial Commit"
- git branch -M main
- git remote add origin https://github.com/sharjilansari/bookapp.git
- git push -u origin main
- git add .
- git commit -m "Commit message"
- git push origin main
- Install node.js
- npm init
- Install express, mongoose (npm i express mongoose cors)
- git clone "https://github.com/sharjilansari/bookapp"
- Go inside backend directory and type npm i command
- Run the application using node index.js
- http://localhost:5000/getdata
- http://localhost:5000/postdata { "email": "[email protected]", "name": "Sharjil", "password": "123456778" }
- For GET API use GET from postman dropdown and add http://localhost:5000/getdata
- For POST API use POST from postman dropdown and add http://localhost:5000/postdata URL and add data into body as a raw json