{"id":19224713,"url":"https://github.com/khanh1998/hermes","last_synced_at":"2026-04-11T04:33:18.811Z","repository":{"id":132667880,"uuid":"419325229","full_name":"khanh1998/hermes","owner":"khanh1998","description":"An instant messaging app that delivers your messages as fast as Hermes","archived":false,"fork":false,"pushed_at":"2021-11-23T15:04:05.000Z","size":1230,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-28T12:36:15.031Z","etag":null,"topics":["chat","elasticsearch","golang","kafka","messaging","nestjs","typescript","vue","websocket"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/khanh1998.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-20T12:43:24.000Z","updated_at":"2021-12-11T15:03:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a3d56dd-5400-443f-9152-e34e9f48c2e3","html_url":"https://github.com/khanh1998/hermes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/khanh1998/hermes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanh1998%2Fhermes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanh1998%2Fhermes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanh1998%2Fhermes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanh1998%2Fhermes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khanh1998","download_url":"https://codeload.github.com/khanh1998/hermes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khanh1998%2Fhermes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31669116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","elasticsearch","golang","kafka","messaging","nestjs","typescript","vue","websocket"],"created_at":"2024-11-09T15:12:36.794Z","updated_at":"2026-04-11T04:33:18.790Z","avatar_url":"https://github.com/khanh1998.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hermes\nAn instant messaging app that delivers your messages as fast as Hermes\n\n# Documentation\nFor more details documentation, please [go here](https://quoc-khanh-bui.gitbook.io/hermes).\n\n# Architecture\n![Architecture](https://drive.google.com/uc?id=196-RkehOrXRGh7nnK5RsHoegkbc-NSA5)\n# Authentication process\n1. `Client` send username and password to `Auth` to get a jwt. Now it can access to resource in `API` using that jwt.\n2. `Client` send a request to `Auth` to get another jwt token to authenticate with `Socket`. In this request, the jwt in step 1 will be put in the header. So only authenticated user can send this request.\n3. `Client` send a request to `Socket` to make a socket connection between client and socket server, using token acquired in step 2. The `Socket` need to contact with `Auth` to verify that the token sent by `Client` is valid.\n\n# Develop\n\n1. sudo docker-compose up -d\n\nWait about 2 minutes, kafka takes time to get ready\n\n2. cd client\nnpm run dev\n\n3. cd auth\nnpm run start:dev\n\n4. cd api\nnpm run start:dev\n\n5. cd shipping\ngo run .\n\n6. cd socket\ngo run .\n\ngo to localhost:3000","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhanh1998%2Fhermes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhanh1998%2Fhermes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhanh1998%2Fhermes/lists"}