So, using your original project, I forked it and all but the functional tests fCC test passed. When I set
NODE_ENV secret to
test, all fCC tests passed, with the satisfying checkmark and everything. I didn’t change anything else on the project. That was yesterday.
Today, I get the GET error you have in the second version and it times out (everything else passes). I think at this point it’s fairly clear the code works, it just needs to work faster. So you can try to streamline this GET route or you can run your test off hours when fCC, MongoDB, and repl.it are not busy (you could use the conveniently scheduled US holiday weekend when everyone here is watching fireworks).
The real kicker is when I try your second project (no fork, just running it), it passes everything (just now). That would seem to indicate something on your end but I could not speculate what that would be and I don’t like the idea anyway (I’m using a recent version of chrome btw).
I would try to refactor things for more efficient lookups and processing and I think that will solve the problem. It could be that your browser is timing out and not the servers.