{"id":23974133,"url":"https://github.com/felipeaz/udp-chat","last_synced_at":"2025-10-04T10:03:42.749Z","repository":{"id":45603309,"uuid":"432390849","full_name":"felipeaz/udp-chat","owner":"felipeaz","description":"Chat server made using UDP connection ","archived":false,"fork":false,"pushed_at":"2021-12-17T20:50:51.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T05:22:00.397Z","etag":null,"topics":["chat-application","golang","udp-protocol","udp-server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/felipeaz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-27T06:54:38.000Z","updated_at":"2022-08-02T23:22:55.000Z","dependencies_parsed_at":"2022-08-19T14:41:23.311Z","dependency_job_id":null,"html_url":"https://github.com/felipeaz/udp-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeaz%2Fudp-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeaz%2Fudp-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeaz%2Fudp-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipeaz%2Fudp-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipeaz","download_url":"https://codeload.github.com/felipeaz/udp-chat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240511300,"owners_count":19813236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chat-application","golang","udp-protocol","udp-server"],"created_at":"2025-01-07T05:21:47.357Z","updated_at":"2025-10-04T10:03:42.656Z","avatar_url":"https://github.com/felipeaz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# udp-chat\n\nUDP-CHAT is a chat made in Golang which simulates a real-time chat using a UDP server. \n\n#### Business Rules\n- The last 20 messages are stored into a Redis with an expiry time of 20 minutes.\n- If the server took more than 5 seconds to reply, the connection is closed (timeout set as 5 sec)\n\n## PROJECT REQUIREMENTS\n\nThis project requires ``DOCKER`` and ``GOLANG`` installed in your machine.\n\n## Ports Availability\n``6380`` - REDIS\n\n``8000`` - SERVER\n\n## INSTALLATION\n\nTo install \u0026 run the chat is pretty simple, all the steps have been added to a shell script and we can run it as a makefile. \n\n### STEP-BY-STEP\n\nOn the main project folder ``{project_path}/udp-chat``, run the following commands:\n\n ``make server`` -\u003e Initialize Docker adding the ``REDIS`` container and running the ``SERVER`` on port ``8000``\n \n``make client`` -\u003e Runs a ``CLIENT`` instance which listen on server port 8000. \n\nIf you want to stop the server, go to the project folder again and type ``make server-stop``\n\n### Debugging cache operations\n\nYou can see every action made on REDIS using the client ``redis-cli``. \n\nJust open a new terminal and type: ``redis-cli -p 6380`` then ``monitor``. If you get an ``OK`` you will see every action made on REDIS.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipeaz%2Fudp-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipeaz%2Fudp-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipeaz%2Fudp-chat/lists"}