Try these out yourself.

  1. Create a middleware function that logs each incoming request’s HTTP method, URL, and timestamp to the console
  2. Create a middleware that counts total number of requests sent to a server. Also create an endpoint that exposes it