Advanced Node-and Express - Set up the Environment(Help needed)

Even though i am able to pass the test but the chat is not functioning.
Here is the glitch link-!/unequaled-colony
Please help.

in … client.js

    var messageToSend = $('#m').val();
    //send message to server here?
    return false; // prevent form submit from refreshing page

there is no sending of … messageToSend ?
also, is your app listening?

const port = 3000 // server.js

app.get('/', (req, res) => res.send(messageToSend)) // client.js ?

app.listen(port, () => console.log(`Example app listening on port ${port}!`)) // server.js ?

Am I the only one getting redirected to a completely different glitch on login?

I go from to when I click the login with github.

You may want to set a callback URL in the passport settings. Perhaps something in your .env?

Yes this is the same problem i am encountering ,it has to be redirected to /chat but its getting redirected to the registration page even though registration page is not present in the app.Not able to debug the issue.Please help if possible.

But i tested and its listening on port 3000.As mentioned in the challenge,i followed all the instructions.Don’t know exactly where the bug is.Please try to identify the bug if possible.