Skip to content

fbw-d09/be-intro-server-juse122

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤸 Exercise

Time to write your first Node mini-server 🚀

  1. the server should give back the string "Hello World"

  2. add the endpoint "./now" when the url "http://localhost:4000/now" is called, the current Date and Time should be displayed

  3. add the endpoint "./count" when the url "http://localhost:4000/count" is called, a number should be displayed, the number displayed should count up for every call

🏋️ Bonus

create a .env Datei, which holds the port-number you are listening to

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%