{"id":17002686,"url":"https://github.com/eddiescj/chat-api-node","last_synced_at":"2025-03-22T09:19:11.786Z","repository":{"id":54488674,"uuid":"337287307","full_name":"EddieSCJ/chat-api-node","owner":"EddieSCJ","description":"A simple node with kafka and restify.js message service to work as a chat using a websocket to connect the Frontend Application (https://github.com/EddieSCJ/chat-frontend)","archived":false,"fork":false,"pushed_at":"2021-02-27T07:28:41.000Z","size":54,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T04:15:30.475Z","etag":null,"topics":["docker","kafka","node-js","nodejs","socket-io","socketio-server","socketioserver"],"latest_commit_sha":null,"homepage":"https://dev.to/eddiescj","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EddieSCJ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-09T04:01:06.000Z","updated_at":"2021-06-29T03:38:59.000Z","dependencies_parsed_at":"2022-08-13T17:31:04.459Z","dependency_job_id":null,"html_url":"https://github.com/EddieSCJ/chat-api-node","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/EddieSCJ%2Fchat-api-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddieSCJ%2Fchat-api-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddieSCJ%2Fchat-api-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EddieSCJ%2Fchat-api-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EddieSCJ","download_url":"https://codeload.github.com/EddieSCJ/chat-api-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244932035,"owners_count":20534085,"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":["docker","kafka","node-js","nodejs","socket-io","socketio-server","socketioserver"],"created_at":"2024-10-14T04:28:43.487Z","updated_at":"2025-03-22T09:19:11.764Z","avatar_url":"https://github.com/EddieSCJ.png","language":"JavaScript","readme":"# Chat API\nA simple node with kafka and restify.js message service to work as a chat using a websocket to connect the [Frontend Application](https://github.com/EddieSCJ/chat-frontend)\n\n### How it works?\nWhen you write a message in the frontend application, the frontend app will send a post request to this backend service, at this post we will validate and use a producer to send this message to a kafka queue where a consumer (in anywhere) will consume the message and implement it's own solution, our solution is to use a websocket (provided by socket.io) to connect the frontend app and after the message be consumed, send it processed to the chat.\n\n### What do I need to run it?\n* Docker \n* Download this project and open the terminal in its folder\n\n### Docker commands to run this app \n* After open the terminal in its folder, just type\n```\ndocker build -t chat-api .\n```\n```\ndocker-compose -up\n```\n\n**It will run at localhost:8080**\n\nEnjoy the project and any doubt, just contact me by email.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddiescj%2Fchat-api-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddiescj%2Fchat-api-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddiescj%2Fchat-api-node/lists"}