I am getting cross origin headers error despite running cors library, or simply a 404 not found while polling in the console.
The project structure looks like this