Skip to content

This is a basic code of REST API that gives GET, POST, PUT, DELETE requests to local host

Notifications You must be signed in to change notification settings

GoSleepBelall/RESTAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTAPI

  • This is a basic code of REST API with NodeJs and Express that gives GET, POST, PUT, DELETE requests to local host
  • To Run the Project: Download NPM packages by running npm install
  • Then Run

npm start to start the server on port

localhost/3000 to get into server

localhost/3000/api/courses to get JSON of courses array

localhost/3000/api/courses/:id to get JSON of specific course in courses array

About

This is a basic code of REST API that gives GET, POST, PUT, DELETE requests to local host

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published