Web Application using Node.js

hi
am supposed to build a web Application for collecting weather data from an external API then store these data into server then retrieve the data from server
here is the code
problem is each time i run the code I get a 404 error

Code

const apiKey = “fcbf0e31175abbcac0d9d61e7bf69355&units=imperial”;

// const URL = `` / this should be declared in the addEvent listener function

// Create a new date instance dynamically with JS

let d = new Date();

let newDate = d.getMonth() + 1 + “.” + d.getDate() + “.” + d.getFullYear();

document.querySelector(“#generate”).addEventListener(“click”, (e) => {
const zipC = document.querySelector(“#zip”).value;
const feeling = document.querySelector(“#feelings”).value;
const URL$$ = https://api.openweathermap.org/data/2.5/weather?zip=${zipC}&appid=${apiKey};
fetch(URL$$)
.then((res) => res.json())
.then((res) => {
const temp = res.main.temp;
console.log(temp);
return;
})

.then(() => {
  fetch("/dataStore", {
    method: "POST",
    credentials: "same-origin",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      date: newDate,
      temp: temp,
      content: feeling,
    }),
  });
})
.then(() => {
  fetch("/getR")
    .then((res) => res.json())
    .then((data) => console.log(data));
});

});