Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.28 KB

README.md

File metadata and controls

37 lines (20 loc) · 1.28 KB

Back End web Service with NodeJS - Express - Post man and use of RESTful API's

Before the Steps:

  • In order to access this file, you must install Node.

  • CD through your file folder and add package jason file 'npm init --yes'

  • Install Express 'npm i express' NOTE if it doesn't work, try express@4.16.2

  • Add Postman to your browser.

(Since it is deprecated, you have the option to download it on their website.)

Steps:

  • CD through your file folder and add the package JSON file npm init --yes

  • Install Express npm i express NOTE if it doesnt work try express@4.16.2

  • for schema npm i joi NOTE if error again try joi@13.1.0

  • Then add nodemon "node Monitor" package in your file globally npm i -g nodemon

    • to access nodemon on terminal nodemon <file name> =======
  • Install Express 'npm i express' NOTE if it doesn't work try express@4.16.2

  • For Schema 'npm i express' NOTE if error again try joi@13.1.0

  • Then add nodemon "Node Monitor" package in your file globally 'npm i -g nodemon'

    • to access nodemon on terminal nodemon <file name>

Copy this link into postman by using these HTTP Methods: Get - POST - PUT - DELETE

use port 3000 with link /api/courses/:id