Skip to content

gbo-redspher/nodejs-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-course

nodejs basic course to startup a project

Env Variables

  • PORT port number of the app

Docker

  • docker build -t test-course .
  • docker run -p 5000:5000 test-course

Curl

  • Create a message with:
    • curl -X POST -H "Content-Type:application/json" http://localhost:5000/messages -d '{"text":"We need a new plague."}'
  • Delete a message with:
    • curl -X DELETE -H "Content-Type:application/json" http://localhost:5000/messages/1

Postman

About

nodejs basic course to startup a project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •