My express site's giving 503 error. I've searched almost for an hour everywhere now, but nothing helps. Heres the FULL CODE below, any help would be appreciated loads. PS: Im trying to make a comment system. I used mongoose, express and axios for posting with a few minor npm modules. code: {SOLVED}
For starters, this:
app.use(express.json);
is wrong and should be:
app.use(express.json());
2.1m questions
2.1m answers
60 comments
57.0k users