Just changed the the socket.io URL to my local machine
Added messages to the database and fixed the initial messages order