Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 532 Bytes

README.md

File metadata and controls

16 lines (9 loc) · 532 Bytes

🤸 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