Cannot pass the exercise tracker challenge

I followed every instruction. But it shows many errors that I cannot pass. Please provide me with a solution.

Project link(s)

solution: https://replit.com/@mohammadmesbaul/boilerplate-project-exercisetracker-1

Your browser information:

User Agent is: Chrome/96.0.4664.93

Challenge: Exercise Tracker

Link to the challenge:
https://www.freecodecamp.org/learn/back-end-development-and-apis/back-end-development-and-apis-projects/exercise-trackerstrong text

I didn’t look at the code thoroughly but you do not seem to be handling the case where no date is supplied. And when looking in the browser network tab all the log responses are just an empty array so you seem to never reach the else part of your if/else in the log route.