Task #1044, Stage #2 - Configurable logger middleware
Cool, so logger returns a middleware function, but it doesn’t do much yet. Let’s improve its behavior: log current date, request method and url for each incoming request using console....
Cool, so logger returns a middleware function, but it doesn’t do much yet. Let’s improve its behavior: log current date, request method and url for each incoming request using console....
Time to make our logger configurable. Add the parameter configString to the logger function The config string can include any of the substrings :date, :method or :url. These are the config options which should be split by space, i....
The configurable logger is ready! Add it as a middleware to the server, spin it up and try a couple requests in the browser. Examples: localhost:8080, localhost:8080/about. This task is part of the Full-Stack JavaScript Course....
Implement a function multiply in helper.js which multiplies four numbers and returns the product This task is part of the Full-Stack JavaScript Course If you have any issues with it, you can ask for community help below the post...
Implement the GET /config route. You should send back the object config from constants.js in JSON format. This task is part of the Full-Stack JavaScript Course If you have any issues with it, you can ask for community help below the post...
Implement a function max that takes three numbers and returns the biggest one. This task is part of the Full-Stack JavaScript Course If you have any issues with it, you can ask for community help below the post...
Implement the function concatenateArrays in helper.js It should return a new array that has the second array “glued” to the end of the first one Example: concatenateArrays([1,2,3], [1,2,4]) returns [1,2,3,1,2,4]...
Implement the function concatenateArraysUnique in helper.js It should return a new array that has the second array “glued” to the end of the first one. There should be no duplicates in the result....
Implement a function factorial in helper.js that returns a factorial of a certain number. Factorial of a number is a product of all positive integers below it. This task is part of the Full-Stack JavaScript Course...
Implement a function hasUpperCaseLetters that checks if there are any upperCase letters in a string. This task is part of the Full-Stack JavaScript Course If you have any issues with it, you can ask for community help below the post...