Exploring client-server architecture via a chat client using $.ajax to send (POST) and fetch (GET) JSON data to and from a remote server.